我正在获取像这样的xml feed
<?xml version='1.0' encoding='utf-8'?>
<feed xmlns="http://www.w3.org/2005/Atoz">
<entry>
<title>Php Developer</title>
<summary type="text">We are required php developer urgently</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>Spark Infosys is a professional web development company in Hyderabad</p>
<p> Requirements are:</p>
<p>Job Description:</p>
<ul>
<li>Must have excellent exposure on technologies like – Php, MYSQL, Html, Ajax, J Query</li>
<li>Knowledge of Wordpress, Joomla, Magento , codigniter will be an advantag</li>
<li>Should be proficient in Designing, Developing and Coding skills</li>
</ul>
<p>Requirements:</p>
<ul>
<li>Must have Minimum 1 Year experience as PHP Developer</li>
<li>Willing to work niight shifts also</li>
</ul>
</div>
</content>
</entry>
</feed>
我正在使用rss解析器进行解析。 如何使用html标签获取内容标签数据并存储在数据库中。现在我没有得到
$job_title=mysql_real_escape_string($this->title);
$job_summary=mysql_real_escape_string($this->summary);
$job_content=mysql_real_escape_string($this->content);
在内容部分,当我使用$ this-&gt; div时,内容数据与html标签一起存储。当我使用$ this-&gt;内容时,内容数据不会插入数据库中 请帮我知道如何使用html标签存储内容数据