Gave that a try. Bit new at this so not quite sure whether I'm going about it the right way or not.
This is how I select the data at the moment:
$sql = "SELECT id, title, description, image FROM $table_name ORDER by id";
$result = @($sql,$connection) or die("Couldn't execute query.");
while ($row = mysql_fetch_array($result)) {
$id = $row['id'];
$title = $row['title'];
$description = $row['description'];
$image = $row['image'];
How would you add the "mysql_fetch_row/array/assoc" into this?