MySQL select/where statement
Posted
by
expo101
on Stack Overflow
See other posts from Stack Overflow
or by expo101
Published on 2011-01-10T11:26:35Z
Indexed on
2011/01/10
11:53 UTC
Read the original article
Hit count: 143
mysql-query
I have a webapplication linked to a mysql database with the following fields:
field 1:trip_id
field 2:trip_destination
field 3:trip_description
field 4:trip_duration
In the webapplication I have a listbox based on the following:
ListBox value =1: trip duration 1 - 5 days
ListBox value =2: trip duration 6 - 10 days
Listbox value =3: trip duration 11 -20 days
ListBox value =4: trip duration over 20 days
How do I put this in the sql select statement?
© Stack Overflow or respective owner