Sorry... I pressed 3 times on submit.. 'cos I didn't get any answer... SORRY!!
Nico wrote:
Hi... i need a "No results" answer when a user searches something which is not in the database.
At the moment my result script looks like this...
<?php
$row = 0;
while($search->nextRow()){
$row++;
$bgcolor = ($row % 2) ? "#FFFFCC" : "#FFFF99";
?>
<?php echo $search->f("Whatever"); ?>
<?php } ?>
Could you give me some advice?