You could streamline that code a bit as well:
$query = "SELECT * FROM nuke_phpbb_album ORDER BY RAND(MD5(NOW))) LIMIT 1";
$result = mysql_query [42]($query);
$picrow = mysql_fetch_assoc [43]($result);
$picid = $picrow['id']; //I don't know what the column name is so you would need to insert that here instead of 'id'
echo [44] "<table align=\"center\" cellspacing=\"2\" border=\"0\"/><tr/><td align=\"center\"/>";
echo [45] "<a href=\"http://www.sgwutan.com/modules.php?op=modload&name=PNphpBB2&file=album\"/><img src=\"index.php?name=PNphpBB2&file=album_thumbnail&pic_id=$picid\"/></a/>";
echo [46] "</table/>";
This allows the mysql server to do the work of finding a random row. Not sure if it is really more or less effecient, just a different way of doing it.