Page 1 of 1

SQL Search Results Question

Posted: Mon Feb 23, 2004 8:53 am
by Themodem
Hi I have a website which searched my database for image links and prices and such.

I have made a query which does all the searching but if there are no reccords that are returnable then the site just shows dead links.

Is there any way to show different text or a different page if there are no reccords returned?

Here is my code

Code: Select all

$query_cars = "SELECT * FROM cars where price>=500 and price<=1000";

Posted: Mon Feb 23, 2004 11:30 am
by xisle