By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,157 Members | 1,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,157 IT Pros & Developers. It's quick & easy.

Trying to remember a function's name

P: n/a
Hi, I am drawing a total blank on this... I'm sure that I've seen it in
javascript or PHP... I'm looking for a function that takes a variable
(such as an array) and reduces it to a string which can be
reconstituted. I remember that it does slightly more work than needed
because all the types were specifically indicated even when they were
self evident, but I can't remember the function's name. There is some
unencoding function to go in reverse.

Would someone help me out and name the function I'm thinking of,
please.

Thanks,
Csaba Gabor

Jun 27 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On 27 Jun 2006 15:45:59 -0700, "Csaba Gabor" <da*****@gmail.com> wrote:
I am drawing a total blank on this... I'm sure that I've seen it in
javascript or PHP... I'm looking for a function that takes a variable
(such as an array) and reduces it to a string which can be
reconstituted.


serialize.

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Jun 27 '06 #2

P: n/a
"Csaba Gabor" <da*****@gmail.com> wrote in
news:11**********************@j72g2000cwa.googlegr oups.com:
Hi, I am drawing a total blank on this... I'm sure that I've seen it
in javascript or PHP... I'm looking for a function that takes a
variable (such as an array) and reduces it to a string which can be
reconstituted. I remember that it does slightly more work than
needed because all the types were specifically indicated even when
they were self evident, but I can't remember the function's name.
There is some unencoding function to go in reverse.

Would someone help me out and name the function I'm thinking of,
please.


implode() and explode (PHP 3, 4 and 5)

--
Stan McCann, "Uncle Pirate" http://stanmccann.us/
Implementing negative score for googlegroup postings, see
http://blinkynet.net/comp/uip5.html A zest for living must include a
willingness to die. - R.A. Heinlein
Jun 27 '06 #3

P: n/a
Andy Hassall wrote:
On 27 Jun 2006 15:45:59 -0700, "Csaba Gabor" <da*****@gmail.com> wrote:
I am drawing a total blank on this... I'm sure that I've seen it in
javascript or PHP... I'm looking for a function that takes a variable
(such as an array) and reduces it to a string which can be
reconstituted.


serialize.


Yep, that's it. Thanks very much,
Csaba Gabor from Vienna

Jun 28 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.