PHP parse error
//Now if everything is ok so far we'll start to embed the data in the database.//I usually make the input into variables first, but you can also add them on the flow.
$username = $_POST['username'];
$password = $_POST['password'];
$email = $_POST['email'];
$q ="INSERT INTO dbusers (username,password,email)".
"VALUES ("$username","$password","$email")");//These 2 lines sets the variable $q
$r = mysql_query($q);//Now we have one variable $r which contains all the form input and mysql actions.
giver følgende fejl:
Parse error: parse error, unexpected T_VARIABLE in c:\apache\htdocs\my_first_php_site\login\register.php on line 45
Hvor er fejlen?
//salmanr
