zgkhoo Posted November 12, 2007 Share Posted November 12, 2007 $sql="INSERT INTO pyramid(PyramidID,Serialnum,Upline) VALUES ('$lastID',$cardID,$_POST['upline']),'11111')"; the $_POST['upline']) appear to be invalid ..after put in the quote.. wat should i modify? thanks.. Link to comment https://forums.phpfreaks.com/topic/77000-solved-mysql-quote/ Share on other sites More sharing options...
pocobueno1388 Posted November 12, 2007 Share Posted November 12, 2007 You need to wrap it in brackets. $sql="INSERT INTO pyramid(PyramidID,Serialnum,Upline) VALUES ('$lastID','$cardID','{$_POST['upline']}','11111')"; Link to comment https://forums.phpfreaks.com/topic/77000-solved-mysql-quote/#findComment-389915 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.