Let's say I have a variable $query, and $query="a-b", how can I cut the variable so that I'll have a new variable $q1, that is $q1="a"?
list($q1, $q2) = explode("-", $query);
thanks 😃