Re: [PHP] register_variables

2003-03-18 Thread Cranky Kong
The problem must certainly come from the register_global turn to off Check this value in your php.ini file Samug [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] No it's not. It's a script called LinksCaffe http://www.hotscripts.com/cgi-bin/dload.cgi?ID=15062. In file

[PHP] register_variables

2003-03-17 Thread samug
I'm trying to run a script which uses variables passed via a form, like this: if($lcat_name) { $sql_query = INSERT into category VALUES ('','$lcat_name'); $result = mysql_query($sql_query); echo You add next categoryfont color=greenb $lcat_name/b/font; } but the variable $lcat_name is empty

Re: [PHP] register_variables

2003-03-17 Thread Leif K-Brooks
Is it inside of a function? samug wrote: I'm trying to run a script which uses variables passed via a form, like this: if($lcat_name) { $sql_query = INSERT into category VALUES ('','$lcat_name'); $result = mysql_query($sql_query); echo You add next categoryfont color=greenb $lcat_name/b/font; }

Re: [PHP] register_variables

2003-03-17 Thread samug
No it's not. It's a script called LinksCaffe http://www.hotscripts.com/cgi-bin/dload.cgi?ID=15062. In file catadd.php Leif K-Brooks [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is it inside of a function? samug wrote: I'm trying to run a script which uses variables passed via a