Re: Submitting info from a form to a db
| From: | dirk | Date: | Wed, 15 Sep 2004 09:50:33 +0000 |
| Subject: | Re: Submitting info from a form to a db | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196715@lists.php.net to get a copy of this message | ||
Try it with escaped qutation marks (\")
<? mysql_query("INSERT INTO
users(fullname, email, username, password)
VALUES (\"".$_POST['fullname']."\",
\"".$_POST['email']."\",
\"".$_POST['username']."\",
\"".md5($_POST['password']."\")");
?>