Iv been making a website for a few days now, but have got to a point where im really stuck. I'm trying to create a file which will register a user. Im getting the error...
Quote
Parse error: syntax error, unexpected T_STRING in /home/a4941674/public_html/register.php on line 17
Here's my code (Im not posting it all for security reasons)
$sql=INSERT INTO `'$db_name'`.`members` (`id` ,`username` ,`password` ,`email` ,`coins`)VALUES (NULL , '$username', '$password', '$email', '0'); $result=mysql_query($sql);
can somebody tell me why i'm getting this error and how to fix it?
Thanks a bunch guys!


Sign In
Create Account



Back to top









