Connecting Tech Pros Worldwide Help | Site Map

Trying to remember a function's name

  #1  
Old June 27th, 2006, 11:45 PM
Csaba Gabor
Guest
 
Posts: 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

  #2  
Old June 27th, 2006, 11:45 PM
Andy Hassall
Guest
 
Posts: n/a

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 28th, 2006, 12:25 AM
Stan McCann
Guest
 
Posts: n/a

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, 10:15 AM
Csaba Gabor
Guest
 
Posts: n/a

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

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions error trying to open MDB file with ODBC Martin answers 9 March 25th, 2008 03:25 PM
Trying to find ClientID of web form - Update Neo Geshel answers 19 November 21st, 2005 07:17 PM
Trying to find ClientID of web form - Update Neo Geshel answers 25 November 19th, 2005 03:27 PM
trying to use mouse effect script in multiple frames? ids answers 1 July 23rd, 2005 05:03 PM