Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001051

Re: [PHP-DB] Newbie: IF statement From: Johannes Janson (johannes.janson <email protected>)
Date: 05/14/01

Hi,

> I have tried these if statements, but without luck:
>
> if ($Page='') { $Page="homepage" }

you use only one = So you assign "" or '' or null to $page.
use if ($page == "") instead.

hope it helps
Johannes

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>