Tuesday 4 September 2018
Subscribe to:
Post Comments (Atom)
$itemquery = "insert into `Items` values (...)";
if($affected_rows = $db->exec($itemquery) ){
...
$pickupquery = "insert into `Pickup` values (...)";
if ($affected_rows2 = $db->exec($pickupquery)) {
echo "success";
}
else echo "No pickup is inserted";
}
INSERT INTO `Items` (COL_NAMES) VALUES (a, b,...)
INSERT INTO `Items` (`name`, `price`) VALUES ('Beans', 0.40);
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment