5/2004 18:24
To
[EMAIL PROTECTED]
cc
Subject
Re: [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.
TECTED]>
> 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!
>
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!
Yo
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_ar
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 data