[SOLVED] removing , from a string
Posted: Sun Mar 20, 2005 1:47 am
Hello forum 
I've got data coming in from a GET form that comes in like this example:
5, 14, 6, 33, 1
I want to be able to parse through a string similar to that, take the numbers (they will always be integers) and use them one at a time in a loop to access the database (the numbers represent the ID's of the database items).
Can anyone give me some guidelines, starting points etc? It's the comma's that are getting me at first thought, then their actual use in the loop.
Thanks a lot, I look forward to this one with interest
I've got data coming in from a GET form that comes in like this example:
5, 14, 6, 33, 1
I want to be able to parse through a string similar to that, take the numbers (they will always be integers) and use them one at a time in a loop to access the database (the numbers represent the ID's of the database items).
Can anyone give me some guidelines, starting points etc? It's the comma's that are getting me at first thought, then their actual use in the loop.
Thanks a lot, I look forward to this one with interest