I am having the same issue here but on postgreSQL database. I keep getting SYNTAX ERROR error at the update line, please can someone help
$query = "Select * from fieldtally where 'pipeno' = $pipeno;
BEGIN;
INSERT INTO fieldtally(pipeno,wthick,djointno,heatno1)VALUES('$pipeno','$wthick','$djointno','$heatno1'); WHERE EXIST, UPDATE fieldtally set 'pipeno'=$pipeno,'wthick'=$wthick,'djointno'=$djointno,'heatno1'=$heatno1);
END";
Where Exists Help
Started by emmy, Oct 31 2012 04:40 PM
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












