Re: SELECT & FETCH ARRAY

From: Date: Thu, 14 Sep 2000 15:10:59 +0000
Subject: Re: SELECT & FETCH ARRAY
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-2653@lists.php.net to get a copy of this message
Karl: KP> I would like is all in either category to be displayed if one of the KP> select options is NULL. I had the same problem, try this: if ($Town == "") $strTown="1"; else $strTown="(Town='$Town')"; if ($Grade == "") $strGrade="1"; else $strGrade="(Grade='$Grade')"; $cursor = mysql_query("SELECT * FROM Accommodation WHERE $strTown AND $strGrade"); KP> width it always overides it. The table always stretches to 100% of a KP> given area. It works within frames where I can specify the master frame Try using width=90% or some other percentage, it has always worked for me. Saludos, Pablo Vera

« previous php.windows (#2653) next »