$asql = "SELECT `author` FROM `rants` WHERE `id` = '$id' LIMIT 1";
$aquery = mysql_query($asql) or die("There is no author for this rant..");
$author = mysql_result($aquery);
gives:
Warning: Wrong parameter count for mysql_result() in /home/des404/public_html/xrants/rant.php on line 23
$asql = "SELECT `author` FROM `rants` WHERE `id` = '$id' LIMIT 1";
$aquery = mysql_query($asql) or die("There is no author for this rant..");
$author = mysql_result($aquery,0,0);