Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am having problems trying to decipher the metadata information.

What does all the a: , s: stuff mean?

is there a place where i can reference what all this coding means in wp?

not just for attachment metadata, but users, etc.

thanks

share|improve this question
add comment

1 Answer

What you're referring to is serialized data. To save an array to MySQL the data is serialized upon submission, so the best way to read that data is to pull it out of the database with a function that unserializes it, which WordPress does for you. More details

So somewhere in a theme or plugin you could just use get_user_meta() to print the array of data for any given user.

share|improve this answer
1  
thanks for that reference, it wasn't exactly what I was looking for, but it did click something for me...a is array, s is string the ":n" after the a or s is some sort of reference number for an attribute that depends upon the context. The ':"text"' is the value. - I went to edit but timed out - sorry for any repeat. –  cjtech Apr 6 '12 at 17:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.