[thelist] PHP help please- parsing text to variables

Kelly Hallman khallman at wrack.org
Thu Mar 20 01:34:31 CST 2003


On Thu, 20 Mar 2003, Todd wrote:
> Awesome! Thanks Kelly!!! 

Guess it worked for you...so, I assume this is just curiosity:
 
> Question- what is this a:18? when I opened the text I got.
> 'a:18:{s:5:"month";s:12:"August,2003";s:7:"header1";s:15:
> "testttestsetswe";s:5:"body1";' Is it 18 strings in the array?

Yeah, it's something like that, though I haven't spent any time trying to
decypher the exact format (and it isn't described in PHP docs I've seen).

The benefit of using functions to store/restore the data is that it
doesn't really matter what the underlying method is.

-- 
Kelly Hallman
http://wrack.org/





More information about the thelist mailing list