Hi.

I have an issue with a search in my php script.

When I want to do a search against a specific country then I get results for that country.
However if I do a search for All. I get no results found? If I then just do a search for the word destination I find everything?
I want to be able to get the same results if I search for All as I would if I searched for the word destination?
I also need to still keep the same functions that work already so if I search for a specific country I get the right results.
I hope that makes some sense..
I have attached the code below that I think is causing the problem.

Thanks for any help

<option value="">Destination</option>

<option value="all">All</option>

<?php do { ?>

<option value="<?php echo $row_destinations['Country']?>" <?php if (!(strcmp($row_destinations['Country'], $cntfilter))) {echo "SELECTED";} ?>><?php echo $row_destinations['Country']?></option>

<?php } while ($row_destinations = mysql_fetch_assoc($destinations)); $rows = mysql_num_rows($destinations); if($rows > 0) { mysql_data_seek($destinations, 0); $row_destinations = mysql_fetch_assoc($destinations); }?>