Jump to content

Keep getting Parse Error


Rapt0r

Recommended Posts

Well I'm trying to make a form that registers members on my website, and I keep getting a parse error on the line that inserts the users into the database. I keep on looking over the line and I can't find the problem.

 

Here's the error message I'm getting:

Parse error: parse error in C:\wamp\www\create_account.php on line 20

 

And here's the line of code:

mysql_query("INSERT INTO users VALUES ('" . $username . "', '" . $password . "')");

Any help would be really appreciated.

Link to comment
https://forums.phpfreaks.com/topic/147217-keep-getting-parse-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.