Re: PHP Array to Javascript?
| From: | Ignatius Reilly | Date: | Thu, 26 Aug 2004 05:21:50 +0000 |
| Subject: | Re: PHP Array to Javascript? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35891@lists.php.net to get a copy of this message | ||
look at the PEAR HTML_Javascript class
_________________________
----- Original Message -----
From: "Chris Payne" <chris_payne@planetoxygene.com>
To: <php-db@lists.php.net>
Sent: Thursday, August 26, 2004 2:18 AM
Subject: [PHP-DB] PHP Array to Javascript?
> Hi there everyone,
>
>
>
> I set an array using the following in PHP:
>
>
>
> $ringb[$i]="$complex_area";
>
> $i++;
>
>
>
> It cycles through my DB and stores the info, my question is, how can I
> convert it to a value that can be read in Javascript?
>
>
>
> I'm stumped.
>
>
>
> Chris
>
>