Thanks! Even with the typo, the issue was resolved with your helpful
comments!

Thanks also for the pointer on using mysql_real_escape to 'sanitize' the
user input, it's definitely become a part of my coding.


On Mon, Feb 21, 2011 at 8:22 AM, Daniel Brown <danbr...@php.net> wrote:

> On Sun, Feb 20, 2011 at 16:43, Donovan Brooke <li...@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/
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to