guy plz help me out with this.
If i have a table, in the table is a column called veh_status, the row data will be varchar storing one or many comma seperated numbers
so
veh_status could be 1,2,3
each number represents an id to the relevant vehicle statuts name and description etc.
My question is:
How do i do a mysql query to select a row where veh_status contains 1 or many numbers.
for example, i want to select all cars with veh_status 1 and 2 and 3 or only veh_status that is equal to 3.
I have no code to show at the moment as i am only looking at optoins fornow.
Im using the codeigniter framwork but a standard mysql query will work fine and ill find the appropriate codeigniter equivelent.
Thanks in advance