On Tue, April 18, 2006 6:03 am, Ross wrote:
> select name="area" class="text" id="area">
> All of Scotland
> Aberdeen City Counci...
>
>
>
> This is what I thought would work..
>
>
> $query1= "select * from $table_name WHERE sname LIKE '$searc
On 18/04/06, Ross <[EMAIL PROTECTED]> wrote:
>
> $query1= "select * from $table_name WHERE sname LIKE '$search_string%' ";
>
> if ($area="a") {
> $query1 .=" AND area='a'";
> }
> else {
> $query1 .="AND area='$area'";
> }
Firstly, you're assigning "a" to area rather than testing whether
$ar
2 matches
Mail list logo