I'm not much of a coder...but I installed this script over a year ago and it has worked perfectly.
Warning: Supplied argument is not a valid MySQL result resource in /www/tnl/htdocs/board/include.php on line 399
this is snippet of the code from "include.php" starting from line 399....
<------------------------------>
while($row = mysql_fetch_array($query))
{
$message = eregi_replace(quotemeta($row['short']), " <img src='".$row['url']."' border=0> ", $message);
}
return $message;
}
<----------------------------------->
I can give the whole function if this isnt enough.