Re: Newbie Question

From: Date: Mon, 23 Apr 2001 15:49:06 +0000
Subject: Re: Newbie Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49875@lists.php.net to get a copy of this message
On Monday 23 April 2001 17:34, Taylor, Stewart wrote: > You've got some typo's > if (my_type != "0"){ --> if ($my_type != "0") { if ($my_type) if it's a check if it's true, "not-equal"-ing it to string 0 is a ugly way to do it. just my two cents. -- php developer / CoreTrek AS | Forest fires cause Smokey Bears. Sandnes / Rogaland / Norway | web: http://www.moijk.net/ |

« previous php.general (#49875) next »