Anyone with a clue?
Code: Select all
function back($id)
{
global $db;
$sql = "SELECT eforum_reply,eforum_id ".
"FROM eforum ".
"WHERE eforum_id = ".$id."";
$result = mysql_query($sql,$db);
if( mysql_error() ) { die(mysql_error());}
while($row2 = mysql_fetch_row($result))
{
if($row2ї0] != 0) back($row2ї0]);
else $tagg = $row2ї1];
}
echo($tagg);
return $tagg;
}