hello guys how are you, i have an inquire about how can i put the adress if my adress contains php
it is the link which i want to put
<link>shownews.php?full=news&id_topic=$row->id_topic</link>
here is my code
<?php
header('Content-Type: application/xml');
mysql_connect('localhost','root','root');
mysql_select_db('ahmad');
echo '<?xml version="1.0" encoding="utf-8"?>'?>
<rss version="2.0">
<channel>
<title>my articles</title>
<description>News,social,media</description>
<link>/</link>
<?php
$show_data=mysql_query("select * from `topics` limit 10");
while ($fetch_data=mysql_fetch_object($show_data)){
?>
<item>
<title><?=$fetch_data->topic_title;?></title>
<link>http://google.com</link>
<pubDate>Sat, 9 Jan 2010 16:23:41 GMT</pubDate>
</item>';
<?php
}
?>
</channel>
</rss>