Array
(
[post] => Array
(
[jw_objective] => Exposure to e<b>nd to end development</b> of various applications; right from requirement analysis to system study, designing, coding, testing, de-bugging, <i>documentation and i</i>mplementation. Adept in <u>handling the design and coding functions</u>
[postid] => 363
[jw_fullname] => Pradeep
[jw_email] => [email protected]
[jw_phone] => 9952149811
[jw_website] => www.por.com
[jw_address1] => 83, VGP Nagar East
[jw_address2] => T Nagar
[jw_address3] => Chennai, India 605602
[jw_title] => Senior Web Developer
[jw_cname] => TPF Software Solutions
[jw_startdate] => Dec 2010
[jw_enddate] => Present
[jw_desc] => This is my responsibilit<b>es in this job</b>
[jw_qualifications] => Certified Public Acc<i>ountant (CPA)
Certified Management Accountant (CMA)
Certified Financial Manager (CFM)
Certified Fraud Examiner (CF</i>E)
Cer<b>tified Financial Planner (CFP)
Certified Internal Auditor (CIA)
Enrolled Agent (EA)
Certified Government Financial Manager (CGFM)
</b>
[jw_educname] => B.E
[jw_eduiname] => Arunai College of Engineering
[jw_edustartdate] => May 2005
[jw_eduenddate] => May 2009
[jw_edudesc] => This is a riduculous thing happen<b><i>ed in my life, </i></b>
[jw_interest] => Th<i>ese are my interests</i>
[jw_referance] => This Is my referance
)
)
这是我遍历的数组,并将其添加到
wp_postmeta
通过以下foreach循环
foreach ($_POST AS $key => $value) {
add_post_meta($pid, $key, $value, true);
}
该信息是从自定义表单发布的。
我遇到的问题是HTML标记<b>
和<i>
在进入数据库时自动剥离。HTML是从jquery所见即所得编辑器生成的
但信息保存成功。有没有办法用HTML标记保存Posteta?