note 41775 added to function.serialize
| From: | hfuecks at phppatterns dot com | Date: | Thu, 22 Apr 2004 00:20:50 +0000 |
| Subject: | note 41775 added to function.serialize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68495@lists.php.net to get a copy of this message | ||
Regarding serializing PHP data types to Javascript, following Ivans note below, theres an example at
http://www.tekool.net/php/js_serializer/.
The basic serialization looks good although, in its current form, it works on the basis of
generating Javascript source which a browser executes as a page loads. Using Javascripts eval() the
same can be done with strings containing Javascript if youre working with something like
XMLHTTPRequest
----
Manual Page -- http://www.php.net/manual/en/function.serialize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41775
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41775&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41775&report=yes
Search -- http://master.php.net/manage/user-notes.php