Hi there,
Your questions are a bit difficult to answer immediately without some more info, but I'll give it a try.
DISPLAY:
$search=$_GET['search'];
- Create a form and send the query away to a page with this code:
$sql="SELECT id, model, year, price FROM cars WHERE model LIKE '$search' OR year LIKE '$search' OR price LIKE '$search' ORDER BY price";
MORE DETAILS:
- A new page which displays the info for the car with the designated id:
$sql="SELECT * FROM cars WHERE id=$id";
Of course it can be made more advanced and functional, but this hopefully gives you an idea.