Hey,
I am currently working on a project that stores user data into a field in a mysql db like so:
username|1|1|Dcahrakos<end>
random|10|10|Just some Text<end>
and I need to loop through all the data in the field, and first separate it by the <end> tag, then after that is done, I need to separate it by the | tags.
Now, for the life of me I cant get a working script that will loop through all the data, split it, and store all the data that gets split into variables...I need to eventually parse this data for a script that will generate an image based on this data.
So my question is, does anyone know a good way to loop through all the data(as there will be varying amounts), then get the array's into separate variables for each? I just cant seem to loop through and store all the data into an array for some reason, everything ive tried has failed.
any help would be greatly appreciated.
Thanks.