Create Printable PDF invoice using PHP MySQL
query($sql)){
$sid=$con->insert_id;
$sql2="insert into invoice_products (SID,PNAME,PRICE,QTY,TOTAL) values ";
$rows=[];
for($i=0;$i
query($sql2)){
echo "Invoice Added.
Click here to Print Invoice
";
}else{
echo "Invoice Added Failed.
";
}
}else{
echo "Invoice Added Failed.
";
}
}
?>