RE: [PHP] using a for loop but it is not working how come

2003-06-05 Thread Martin Towell
try changing $numbers = array($numbers); to $numbers = explode(",", $numbers); HTH Martin -Original Message- From: Richard Kurth [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: [PHP] using a for loop but it is not w

[PHP] using a for loop but it is not working how come

2003-06-05 Thread Richard Kurth
I am having a problem with this script It pulls a list of numbers from one field in the database (the numbers are in this format (275,277,278,276) It needs to pull each number and run it through the function dofunction and then move on to the next one in tell there are no more to process. What am I