Re: Submitting data to MySQL database using HTML/PHP form
| From: | Daniel Brown | Date: | Mon, 21 Feb 2011 13:22:09 +0000 |
| Subject: | Re: Submitting data to MySQL database using HTML/PHP form | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47691@lists.php.net to get a copy of this message | ||
On Sun, Feb 20, 2011 at 16:43, Donovan Brooke <lists@euca.us> wrote:
>>
>> $insert = "INSERT INTO user_info(login,password)
>>
>>
>> VALUES('".mysql_real_escape_string($login)."',"'.mysql_real_escape_string($password)."')";
>
>
> Look at that one more time Dan. ;-)
Yeah, well, that's why one should never copy and paste, and why I
shouldn't reply to a thread on quotes from my phone. Go figure. ;-P
--
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/