Re: Copying PHP array into a Javascript array
| From: | Otto Wyss | Date: | Tue, 10 Apr 2007 21:13:56 +0000 |
| Subject: | Re: Copying PHP array into a Javascript array | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252472@lists.php.net to get a copy of this message | ||
Jochem Maas wrote:
// if you have this available: http://php.net/manual/en/function.json-encode.php echo json_encode($files); I thought there might be a solution with Json but couldn't locate it. I prefer it versus the iteration, thanks. Sometimes solutions are so simple if one knows them.O. Wyss