coder9 Posted July 24, 2008 Share Posted July 24, 2008 Hi just want to ask you guys if this syntax is correct. $query = "INSERT INTO jtablegrid (username, box_no) VALUES ('.$username . $link.')"; if not please show me the right way. thank you. Link to comment https://forums.phpfreaks.com/topic/116405-is-this-insert-syntax-query-correct/ Share on other sites More sharing options...
revraz Posted July 24, 2008 Share Posted July 24, 2008 VALUES ('$username', '$link')"; Two fields requires two values. Link to comment https://forums.phpfreaks.com/topic/116405-is-this-insert-syntax-query-correct/#findComment-598604 Share on other sites More sharing options...
coder9 Posted July 24, 2008 Author Share Posted July 24, 2008 ok revraz thank you i'll try that. Link to comment https://forums.phpfreaks.com/topic/116405-is-this-insert-syntax-query-correct/#findComment-598611 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.