06-02-2005, 12:40 AM
|
#7 (permalink)
|
|
The Wanderer
Join Date: Jun 2005
Location: London
Posts: 7
Thanks: 0
|
Nothing owuld be the problem with a missing ; at the end of this code:
PHP Code:
$query = "insert into dbname.dbtable (FirstName, LastName, Email, Phone, Address, City, State, Zip, Username, Password, LastLogin)".
"values('$FirstName', '$LastName', '$Email', '$Phone', '$Address', '$City', '$State', '$Zip', '$Username', '$Password', '$LastLogin')"
???
Fixed:
PHP Code:
$query = "insert into dbname.dbtable (FirstName, LastName, Email, Phone, Address, City, State, Zip, Username, Password, LastLogin)".
"values('$FirstName', '$LastName', '$Email', '$Phone', '$Address', '$City', '$State', '$Zip', '$Username', '$Password', '$LastLogin')";
|
|
|
|