Hi,
I am working with data in a database that is seperated by a comma....
The data is represents rooms in an apartment building. For example this:
1,0,0,5
Means 1 room on the first floor, 0 rooms on second floor, 0 rooms on thrid floor, and 5 rooms on fourth floor.
Now....how can I take the comma string and place it in an array so I can call the specific floors? For example:
$floors[4] would output 5
Thanks for the help...