简体   繁体   中英

Wordpress Database in MySql-Database?

all wordpress data is stored in a database (for example mysql)... but, wordpress also stores some data fields in own database format like this:

a:1:{s:12:"header_image";s:49:"http://abcd1.de/files/2010/09/Laptop-Zuebhoer.jpg";}

(this data is stored in mysql as a text field) its easy to see that "a" is the amount, "s" is the string length... sometimes there is also an "i" for index..

OK, my question: is this something wordpress specific? this looks a little bit like json.. What is the name of this thing :) ?

Thanks.

它是PHP的serialize函数的输出。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM