|$sql = "INSERT into $table_name (f_name, l_name, username, password)
Values ('$f_name', '$l_name', '$username', '$password')";|
notice the single quotes
Karl James wrote:
Hey guys,
I cant figure out what’s wrong with this code.
Im sure its syntax can some one take a look at it and
Help me out
What im trying to do is create a form for sign up.
So that the values will be added to the table in the databse..
For log in purposes.
Thanks
Karl
Here is the code.
HYPERLINK
"http://host.makethewebsecure.com/~admin12/do_adduser.phps"http://host.m
akethewebsecure.com/~admin12/do_adduser.phps
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php