Page 2 of 2

Posted: Wed Oct 20, 2004 12:40 pm
by Kingo
Thanx very much. It was of a great help to me. But I did not understand why u are using

preg_match('#^\d{4}$#', $_POST['year']

It is mandatory? or can we just ignore it.

Posted: Wed Oct 20, 2004 1:17 pm
by feyd
no.. I just wanted to make sure it required a 4 digit number before it even tried to find the cars.