MySQL Forums
Forum List  »  Newbie

Error 1054 & PHP variables
Posted by: John Luetke
Date: May 30, 2005 11:27PM

$sql_insert_data = "INSERT INTO admin (username, password, directory) VALUES (`$admin_name`, `$admin_password`, `$admin_directory`)";

do the quotes need to be around the PHP variables?

Options: ReplyQuote


Subject
Written By
Posted
Error 1054 & PHP variables
May 30, 2005 11:27PM


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.