Link the column of a table in database to list box.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Kingo
Forum Contributor
Posts: 146
Joined: Thu Jun 03, 2004 9:38 am

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

no.. I just wanted to make sure it required a 4 digit number before it even tried to find the cars.
Post Reply