If conditional behaviour
| From: | Bradley Crockett | Date: | Sat, 16 Nov 2002 04:14:36 +0000 |
| Subject: | If conditional behaviour | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-23414@lists.php.net to get a copy of this message | ||
AT http://crockett.ca/joinoptional.php I have a
page posted. PHP isn't set up on the server, so I've posted a screenshot of what it looks
like at http://crockett.ca/joinoptionalrendered.bmp
(1/2 MB, sorry). For some reason, it wants to repeat 'Victoria' in the form.
If I comment out the If conditional:
// if ($city = "Victoria") {
// echo "selected ";
// }
..the problem goes away and the different cities appear as expected.
The result of the query is at http://crockett.ca/queryresults.txt
Can someone point me in the right direction?
Brad Crockett
Duncan BC