Creating a rss feed and having some trouble with Mysql
I can't seem to be able to get any images or titles from the mysql database even though I am connected, to the actual rss feed, and i am not sure what I am doing wrong. <?php define ("DB_HOST", "xxx"); // set database host define ("DB_USER", "xxx"); // set database user define ("DB_PASS","fgbsh"); // set database password define ("DB_NAME","adfgadg"); // set database name $link = mysql_connect(DB_HOST, DB_USER, DB_PASS) or die("Couldn't make connection."); $db = mysql_select_db(DB_NAME, $link) or die("Couldn't select database"); $query = "SELECT story, description, pic, url FROM ".posts."