I can't believe this!  I can't even work out an IF statement!

My page contains a search string (eg: page.php3?Page=products )

If the URL does not contain a search string (ie page.php3) then I want to
assign the Page variable to 'homepage".

I have tried these if statements, but without luck:

 if ($Page='') { $Page="homepage" }

 if ($Page="") { $Page="homepage" }

 if ($Page=null) { $Page="homepage" }

I tried the manual at
but without luck.

Any help?!?!

Regards from Denmark, Europe
Please cc your reply to [EMAIL PROTECTED]
I haven't lost my mind, I've got it backed up on TAPE somewhere.......

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to