Niggy, result contains a "result set" that you will have to dissect a bit. There are several different approaches, which explains why there are so many different mysql functions that pretty much do the same thing. The function that makes the most sense to me is
$myresults = mysql_fetch_obj($result)
... which creates an object containing the results for a single line. If you have database columns named moe, larry, and curly, you refer to them as
echo "$myresults->moe is the idiot, $myresults->larry is a bozo, and $myresults->curly is an imbecile";
Whatever function you choose, the important thing is to call it repeatedly until it no longer returns information. Example:
while ($myresult = mysql_fetch_object($result))
{
// do something
}
The "do something" section is where you mingle the data with HTML.