[PHP] Warning: session_start()

2011-05-18 Thread Nazish
Hi everyone, I recently uploaded my website files to a server. When I tried to log into my website, I received these error messages: *Warning*: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output

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 wrote: > > Nazish, > Find yourself an editor or development environment that does source code > highlighting - t

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

2011-02-20 Thread Nazish
l_real_escape_string($login)."','".mysql_real_escape_string($passwor > d)."')"; > > Here is the issue > > ," '.mysql_real_escape_string($password)." ' > > Your escaping incorrectly. > > It should be > ,' ".mysql_real_escape_string($pass

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

2011-02-20 Thread Nazish
? On Sun, Feb 20, 2011 at 3:04 PM, Nazish wrote: > Thanks everyone! However, when I click the "submit" button, the url simply > moves to http://localhost/login.php (from home.php) and it is a blank page > (apart from asking whether it should remember the password for future us

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

2011-02-20 Thread Nazish
Thanks everyone! However, when I click the "submit" button, the url simply moves to http://localhost/login.php (from home.php) and it is a blank page (apart from asking whether it should remember the password for future use). The values still do not move to the database. I included most of your su

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

2011-02-20 Thread Nazish
Hi there, I am creating a login page for my website. The users' information will be stored in a MySQL database. I have a registration form on my home page, and a separate file called "login.php" to process the user values. However, the entries are not going to the MySQL database (however, the valu