I have a script fetching data from a MySQL database in this form:
18 23 42 53 32 44 76
This data all comes from one "cell". These numbers, seperated by spaces, represent id numbers of basketball players, whose stats are managed by my script. What I want to be able to do is to take each of the numbers and put them into a single array e.g.
$playersInGame = array('18', '23', '42', '53', '32', '44', '76');
What I don't know how to seperate the numbers out from eachother (by looking for the spaces).
Any ideas?