I have this code which looks for results where trip_id is = to trip however I also want to select all items sometimes.. is there a way i can select all trip_id's I dunno maybe somekind of wild card "%"
$sql = mysql_query("$query_list where trip_id = $trip ORDER BY id $dd LIMIT $from, $max_results");