Thread
:
Dynamic Car Make, Model, Year, Battery dropdown form
View Single Post
01-14-2013, 04:56 PM
PM User
|
#
6
Arcticwarrio
Regular Coder
Join Date: May 2012
Location: UK
Posts: 597
Thanks: 15
Thanked 67 Times in 67 Posts
a 2nd WHERE in your query, well its HAVING
something like
PHP Code:
$result
=
mysql_query
(
"SELECT * FROM vehicles WHERE year='$drop_var3' HAVING model='$drop_var2'"
)
__________________
There are
10
types of people on CodingForums,
Those who understand Binary and those who dont.
Arcticwarrio
View Public Profile
Find More Posts by Arcticwarrio