Jump to content

Phprunner 9.7


SHERWINCERIA123

Recommended Posts

global $dal;
$record = $button->getCurrentRecord();
{
$sql = "insert into `ItemUsershoppinglist1` (`UserMail`, `DTransaction`, `PkItemCode`, `Barcode`, `Qty`) 
values 
('".$_SESSION['UserMail']."', now(), '".$record[PkItemCode]."', '".$record[Barcode]."', 1)" ;
CustomQuery($sql);
}

$result["txt"] = "Product was added to Cart";

 

 

Can you correct this code.

 

im using this for Button add cart.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.