View Single Post
  #9 (permalink)  
Old 11-09-06, 11:06 PM
tscott tscott is offline
New Member
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Error

I get this when I try to use it,
Code:
Parse error: parse error, unexpected T_VARIABLE in /home/www/tscott.us/register2.php on line 6
http://tscott.us/register.php is where it is currently active, can somebody help, thanks
My code is
PHP Code:

<?php

$username 
$_POST['Username'];
$email $_POST['email'];
$password $_POST['password'];
$signature $_POST['sig']
$data "$username | $email | $password | $signature/n";
$fh fopen("users.txt""a");
fwrite($fh$data);
fclose($fh);
print 
"Succesfully Registered, you may now log in with your username and password"
}else{
  echo
"FAILED!";?>
~Tyler ~
Thanks ahead
Reply With Quote