Jump to content

how do I make a rss feed from a mysql_fetch_array in a php page


Recommended Posts

Hi there,

I created a simple php file which extracts data from a field in one of my tables:

<?php
$sql = "SELECT * FROM phpbb_ina_games ORDER BY game_desc ASC";
$query = mysql_query($sql);
while($row = mysql_fetch_array($query)) {
echo "<tr>";

echo "<td align=center bgcolor=#DAE4EC border=1><font size=2>".$row['game_desc']."</td>";
echo "</tr>";
}
?>

I want to create an rss feed from this page or from the data at least - does anyone have any idea on how this could be accomplished?

 

Any help would be much appreciated as it has me stumped.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.