help with my site register
Posted: Wed May 25, 2005 9:34 pm
whenever i click continue after i enter all of the stuff i need too on my site i get this error:
Parse error: parse error in /home/www/twarowsk.freeownhost.com/StreetLife/process.php on line 8
this is my code
thanks,
matt
Parse error: parse error in /home/www/twarowsk.freeownhost.com/StreetLife/process.php on line 8
this is my code
Code: Select all
<?
require('dblink.php');
//mysql query
$query = ' INSERT INTO table_name (username, passw, email) VALUES ("'.$_POST[username].'", "'.$_POST[password].'", "'.$_POST[email].'");
$db_query = mysql_query($query)
$to = $_POST['email'];//the email address the user submitted
$subject = 'You Registered!';
$message = 'You have just registered to play on The Streets. To log in go to the main page and use your username and password to sign in.';//the body of the email you are sending
mail($to, $subject, $message);//mail sent
?>matt