How to push data to database and pull at website from XML?
Example [B]structure for XML
[code=php]
?xml version=”1.0″ encoding=”utf-8″?>
<rss version=”2.0″>
<channel>
<title>News ticket system</title>
<item>
<title>Google marketing</title>
<link>http://www.mydomain.com/</link>
<description>Short description</description>
<pubDate>Mon, 24 Jan 2011 14:20:01 GMT</pubDate>
<author>Mydomain.com</author>
</item>
</channel>
</rss>
[B]News is published
[code=php]
<table width=”450″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<!– News 1 –>
<tr>
<td><span class=”news_date1″>24.01.2011</span>:<span class=”news_source1″>Source name</span></td>
</tr>
<tr>
<td class=”news_title1″>Title1</td>
</tr>
<tr>
<td class=”news_newsall1″>
<!–<h2></h2>–><br />
<strong>Short description:</strong> Short description<br />
<strong>Author:</strong> Author and his name<br />
<strong>Source:</strong> <br /><br />
<strong>Date of publish:</strong>24.01.2011<br /><br />
<div id=”image2″>
</div>
</td>
</tr>
</table>