Re: [PHP-DB] Submitting data to MySQL database using HTML/PHP form

2011-02-21 Thread Nazish Zafar
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 wrote: > On Sun, Feb 20, 2011 at 16:43,

[PHP-DB] Cant Get Data

2011-02-21 Thread Gary
ot;; print "\n"; } This is the page that I am unable to get to call the checkbox selections " ;*/ } echo "$choice"; /*echo $_SESSION['county$i']; echo $_SESSION['counties']; echo $_SESSION['name']; echo "$count_choice"; echo &

Re: [PHP-DB] Submitting data to MySQL database using HTML/PHP form

2011-02-21 Thread Daniel Brown
On Sun, Feb 20, 2011 at 16:43, Donovan Brooke 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 neve