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.. Quote 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')"; Quote Link to comment https://forums.phpfreaks.com/topic/77000-solved-mysql-quote/#findComment-389915 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.