Given that I have a variable $peopleSize in the format (I’ve already extracted the information from the UI element):
xxx-yyyy people
For example as seen in the jquery range UI:
http://jsfiddle.net/methuselah/SLvtx/1/
How would I get the two min and max as two seperate variables using PHP getting rid of the “-” and “people”?
One of many ways to do it: split the string on
'-'and' '.