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

2011-02-21 Thread Nazish Zafar
Thanks! -- I'll definitely look into Netbeans. (The IDE that I was using didn't seem to recognize syntax errors.) On Mon, Feb 21, 2011 at 4:13 AM, Pete Ford p...@justcroft.com wrote: Nazish, Find yourself an editor or development environment that does source code highlighting - this sort

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

2011-02-20 Thread Daniel Brown
On Sun, Feb 20, 2011 at 12:55, Daniel Brown danbr...@php.net wrote: On Sun, Feb 20, 2011 at 12:53, Daniel Brown danbr...@php.net wrote:    If the value isn't that of your database password, there's your problem: register_globals.  A simpler way is to check the output of phpinfo(); to see if

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

2011-02-20 Thread Nazish
Update: I added echo statements after mysql_connect and mysql_select_db to check where the code was broken. These statements show up on the login.php page after submitting the form, which means the MySQL connection works. So, the problem seems to lie with the *$insert *query... ideas? On Sun,

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

2011-02-20 Thread Nazish
). ' The double quote is in the wrong place. -Original Message- From: Nazish [mailto:naz...@gmail.com] Sent: Sunday, February 20, 2011 3:54 PM To: php-general@lists.php.net Subject: Re: [PHP] Submitting data to MySQL database using HTML/PHP form Update: I added echo statements after

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

2011-02-20 Thread Andre Polykanine
Hello Nazish, Try to do the following in your login.php: ?php print_r($_POST); // assign your variables echo br$loginbr$passwordbr$insertbr; So we'll see the result. -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion

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

2011-02-20 Thread Andre Polykanine
Hello Nazish, Echo the $insert variable. -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: Nazish

RE: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread admin
, February 20, 2011 3:54 PM To: php-general@lists.php.net Subject: Re: [PHP] Submitting data to MySQL database using HTML/PHP form Update: I added echo statements after mysql_connect and mysql_select_db to check where the code was broken. These statements show up on the login.php page after

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

2011-02-20 Thread Tamara Temple
I'm wondering if anyone is going to comment on the transmittal and storage of plain text passwords -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2011-02-20 Thread Andre Polykanine
Hello Tamara, :-)) I assume that was a testcase... -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: