php-db | 2001051
Date: 05/14/01
- Next message: Taylor, Stewart: "RE: [PHP-DB] Newbie: IF statement"
- Previous message: Dan Eskildsen: "[PHP-DB] Newbie: IF statement"
- In reply to: Dan Eskildsen: "[PHP-DB] Newbie: IF statement"
- Next in thread: Taylor, Stewart: "RE: [PHP-DB] Newbie: IF statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Taylor, Stewart: "RE: [PHP-DB] Newbie: IF statement"
- Previous message: Dan Eskildsen: "[PHP-DB] Newbie: IF statement"
- In reply to: Dan Eskildsen: "[PHP-DB] Newbie: IF statement"
- Next in thread: Taylor, Stewart: "RE: [PHP-DB] Newbie: IF statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

