Re: If conditional behaviour

From: Date: Sat, 16 Nov 2002 05:12:42 +0000
Subject: Re: If conditional behaviour
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-23415@lists.php.net to get a copy of this message
Did you try $city=="Victoria" ? On Fri, 15 Nov 2002, Bradley Crockett wrote: > 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 > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

« previous php.db (#23415) next »