note 92053 deleted from language.types.string by thiago
| From: | thiago@php.net | Date: | Tue, 07 Jul 2009 12:01:28 +0000 |
| Subject: | note 92053 deleted from language.types.string by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-158008@lists.php.net to get a copy of this message | ||
Note Submitter: oc3ans [at] gmail [dot] com
----
@strata_ranger, here's how to do it without having to use ASCII values:
echo "var my_array = {{$values}}";
or by single quote concatenation
echo 'var my_array = {'.$values.'}';