Re: [PHP-DB] explode() and a database call...?

2004-05-19 Thread Tristan . Pretty
: [PHP-DB] explode() and a database call...? Tristan Pretty [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] . com... HH, didn't work...? Please echo out $row['bands'] and post the contents. Regards, Torsten Mikhail U. Petrov [EMAIL PROTECTED] 18/05/2004 16:20 Please

[PHP-DB] explode() and a database call...?

2004-05-18 Thread Tristan . Pretty
I'm trying to split up a field from a database that contains a list of No's (Eg:1, 4, 12, 32) If I do: $bands_array = explode(,, 1, 4, 12, 32); I get the following array: $bands_array[0] = 1 $bands_array[1] = 4 $bands_array[2] = 12 $bands_array[3] = 32 All good! However... Calling froma

Re: [PHP-DB] explode() and a database call...?

2004-05-18 Thread Mikhail U. Petrov
Hi! You should use $row[bands]. But maybe it's only typing error. I use such methos and have no errors. Tuesday, May 18, 2004, 7:02:34 PM, Tristan wrote: TPrsc I'm trying to split up a field from a database that contains a list of TPrsc No's (Eg:1, 4, 12, 32) TPrsc If I do: TPrsc $bands_array =

Re: [PHP-DB] explode() and a database call...?

2004-05-18 Thread Tristan . Pretty
HH, didn't work...? Mikhail U. Petrov [EMAIL PROTECTED] 18/05/2004 16:20 Please respond to Mikhail U. Petrov [EMAIL PROTECTED] To [EMAIL PROTECTED] cc [EMAIL PROTECTED] Subject Re: [PHP-DB] explode() and a database call...? Hi! You should use $row[bands]. But maybe it's only

Re: [PHP-DB] explode() and a database call...?

2004-05-18 Thread Torsten Roehr
] To [EMAIL PROTECTED] cc [EMAIL PROTECTED] Subject Re: [PHP-DB] explode() and a database call...? Hi! You should use $row[bands]. But maybe it's only typing error. I use such methos and have no errors. Tuesday, May 18, 2004, 7:02:34 PM, Tristan wrote: TPrsc I'm trying to split up