Hi, My code is as follows:
PHP Code:$results = mysql_query("SELECT * FROM stories") or die(mysql_error());
$row = mysql_fetch_array( $results );
echo "<a href=story.php?sID=$row[id]&pID=1><img src=images/small_book.gif border=0><a href=story.php?sID=$row[id]&pID=1><font size=4>$row[story]</font></a><br /><a href=delete.php?id=$row[id]&type=story>Delete</a> | <a href=storyPages.php?sID=$row[id]>Edit Pages</a>";
It should be returning all of the results of that table, but its only returning one? (And I know for sure I have multiple rows of data as when I delete 1, the next row shows up).
ANy help would be greatly appreciated
Josh




Reply With Quote



Bookmarks