Re: [PHP-WIN] PHP help: login.php T_ELSE error

2004-08-02 Thread Dylan Barber
most likely it needs to be elseif no space! Someone elsemight see something else -Original Message- From: server-matrix <[EMAIL PROTECTED]> Sent: Jul 29, 2004 11:31 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP help: login.php T_ELSE error Please could somebody help me with this. I'

Re: [PHP-WIN] PHP help

2003-06-30 Thread Seung Hwan Kang
i found some mistakes here! if register_globals = Off in php.ini $query="INSERT INTO login VALUES (" . $_POST['login'] . ")"; if register_globals = On in php.ini $query="INSERT INTO login VALUES (" . $login . ")"; Rodel D. Bautista wrote: Sir, kindly try these lines: 1) $query="INSERT INTO login

RE: [PHP-WIN] PHP help

2003-06-29 Thread Bautista, Rodel D.(Digitel-GSM)
Sir, kindly try these lines: 1) $query="INSERT INTO login VALUES ("$_POST('login')")"; 2) $query="INSERT INTO login VALUES ("$_REQUEST('login')")"; or check in your php.ini file the line register_globals = on/off should be "on" if you wish to use $query="INSERT INTO login VALUES ("$login")"; Not

Re: [PHP-WIN] PHP help

2003-06-29 Thread Rowan Hick
General hints - if you find a query is not working use a gui tool and try the exact query manually. Eg place in the script echo "Line 5 qry:".$query.""; Then copy the output into a gui tool (such as mysqlmanager) and run it, it will pretty quickly tell you whats wrong. However a good starting

RE: [PHP-WIN] php help

2002-08-26 Thread Rich Gray
I presume you have v4.2 of PHP installed... Globals are off by default so use $_POST['id'] in course.php or set register_globals to on in php.ini (security implications however) -Original Message- From: mathew jose seby [mailto:[EMAIL PROTECTED]] Sent: 23 August 2002 23:23 To: [EMAIL PRO