Re: Please tell me what's wrong

From: Date: Thu, 28 Dec 2000 03:33:09 +0000
Subject: Re: Please tell me what's wrong
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-5477@lists.php.net to get a copy of this message
Hi, On Sun, 19 Nov 2000 09:57:46 +0100 Niels Schenk <niels@accept.demon.nl> wrote: > if($soort = 'storing') { haven't looked at your script after that, but the corrrect way to write an if-statement would be: if($soort == 'storing'). Otherwise it will always be true as the variable $soort is assigned in your statement. This is true for all your 'comparisons'. Patrick Meisel P.S. Sorry if your question has been answered before. I'm not quite sure, why I received this mail anyway, as I quit the list a few weeks ago!

« previous php.db (#5477) next »