MySQL Forums
Forum List  »  PHP

Re: Parse error: syntax error, unexpected T_VARIABLE in C:\wamp\www\database\tables.php on line 6
Posted by: Peter Brawley
Date: February 22, 2008 10:55AM

Have the script echo the query that it has built, and paste that into a mysql client to see where the syntax error is.

Or improve the design process: write the desired query, debug it in a mysql client, and when you have it right then paste it into your php script.

PB
http://www.artfulsoftware.com

Options: ReplyQuote


Subject
Written By
Posted
Re: Parse error: syntax error, unexpected T_VARIABLE in C:\wamp\www\database\tables.php on line 6
February 22, 2008 10:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.