At 11:59 AM -0800 3/7/08, revDAVE wrote:
I have this:
page1';}else{print 'page2';} ?>
I will get the error:
Notice: Undefined index: nowtoctype in ...
If the variable has not yet been defined...
Is there a way to check if this var is already defined? ... (and then I can
define it - if not)
On Fri, Mar 7, 2008 at 2:59 PM, revDAVE <[EMAIL PROTECTED]> wrote:
> I have this:
>
>
> {print 'page1';}else{print 'page2';} ?>
>
> I will get the error:
>
> Notice: Undefined index: nowtoctype in ...
Check out isset(): http://php.net/isset
Page 1\n";
} else {
echo "Page 2\n"
I have this:
page1';}else{print 'page2';} ?>
I will get the error:
Notice: Undefined index: nowtoctype in ...
If the variable has not yet been defined...
Is there a way to check if this var is already defined? ... (and then I can
define it - if not)
--
Thanks - RevDave
Cool @ hosting4days .
3 matches
Mail list logo