I am sorry but I am just starting and I suck. I've been spending the last hour on the site trying to use others' threads and the FAQ to fix this but I simply have not been able to do so. This is real simple. All my code is..
<?php
include 'connect.php';
$get = mysql_query("SELECT * FROM songs");
while ($row = mysql_fetch_assoc($get))
{
//get data
$song = $row['song'];
$rating = $row['rating'];
echo "$song - $rating";
}
?>
where connect.php has mysql_connect and mysql_select_db
and I get "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/rbnstuff/public_html/newlayout/index.php on line 6"