Ross wrote:
because the following line give the notice 'undefined index' BEFORE the
submit button has been pressed..
? $heading_insert= stripslashes($_POST['heading']);?
That's because before the submit button has been pressed, $_POST is
empty and so 'heading' is indeed an undefined
@lists.php.net
Sent: Thursday, November 10, 2005 12:19 PM
Subject: Re: [PHP] undefined index and php
Ross wrote:
because the following line give the notice 'undefined index' BEFORE the
submit button has been pressed..
? $heading_insert= stripslashes($_POST['heading']);?
That's because before
]
Sent: Thursday, November 10, 2005 4:58 AM
To: php-general@lists.php.net
Subject: Re: [PHP] undefined index and php
I have never really used this abreviated format before
why the question mark and the colon? What is the long hang eqivalent.
I turned magic quotes off too.
thanks.
R
-general@lists.php.net
Subject: Re: [PHP] undefined index and php
I have never really used this abreviated format before
why the question mark and the colon? What is the long hang eqivalent.
I turned magic quotes off too.
thanks.
R.
- Original Message -
From: Jasper Bryant-Greene [EMAIL
Hello.
[EMAIL PROTECTED] wrote:
why the question mark and the colon? What is the long hang eqivalent.
That's the Ternary operator. Whether you want to get further
information, go to:
http://php.net/manual/en/language.operators.comparison.php
Regards.
--
Gustavo Narea.
PHP Documentation -
On Thu, November 10, 2005 5:54 am, Ross wrote:
Before someone advises me to 'google' my question. I have and can't
find a
PHP.net example either.
I have turned off registered globals and am updating my scripts so
they work
but I keep getting an undefined index problem using $_POST
I tried
6 matches
Mail list logo