Re: help with form adding to database!!
| From: | Marek Kilimajer | Date: | Fri, 03 Jan 2003 13:37:53 +0000 |
| Subject: | Re: help with form adding to database!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130089@lists.php.net to get a copy of this message | ||
|$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