Connecting Tech Pros Worldwide Help | Site Map

Trying to remember a function's name

 
LinkBack Thread Tools Search this Thread
  #1  
Old June 27th, 2006, 10:45 PM
Csaba Gabor
Guest
 
Posts: n/a
Default Trying to remember a function's name

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


  #2  
Old June 27th, 2006, 10:45 PM
Andy Hassall
Guest
 
Posts: n/a
Default Re: Trying to remember a function's name

On 27 Jun 2006 15:45:59 -0700, "Csaba Gabor" <danswer@gmail.com> wrote:
[color=blue]
>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.[/color]

serialize.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
  #3  
Old June 27th, 2006, 11:25 PM
Stan McCann
Guest
 
Posts: n/a
Default Re: Trying to remember a function's name

"Csaba Gabor" <danswer@gmail.com> wrote in
news:1151448359.726025.205270@j72g2000cwa.googlegr oups.com:
[color=blue]
> 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.[/color]

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
  #4  
Old June 28th, 2006, 09:15 AM
Csaba Gabor
Guest
 
Posts: n/a
Default Re: Trying to remember a function's name

Andy Hassall wrote:[color=blue]
> On 27 Jun 2006 15:45:59 -0700, "Csaba Gabor" <danswer@gmail.com> wrote:
>[color=green]
> >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.[/color]
>
> serialize.[/color]

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

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.