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
>
>
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 -
:[EMAIL PROTECTED]
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.
than
PROTECTED]
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.
;[EMAIL PROTECTED]>
Cc:
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..
That's because before the submit button has bee
Ross wrote:
because the following line give the notice 'undefined index' BEFORE the
submit button has been pressed..
That's because before the submit button has been pressed, $_POST is
empty and so 'heading' is indeed an undefined index. Try:
$heading_insert = isset( $_POST['heading'] )
6 matches
Mail list logo