I'm having problem splitting values in php. e.g 12-23 I want to retrieve the 12 and 23 in 2 different variables. Could you help me please?
Use the explode();
function for that, http://php.net/manual/en/function.explode.php .
Example #1 has exactly what you've asked for!
The explode function will do this for you.
eg. $numbers = explode('-','12-23');