Okay, I'm writing a news system that can dynamically load up and insert emoticons. I keep getting this error:
<b>Warning</b>: REG_EPAREN in /home/simonwaltho/www/crystalsanctuary/admin/editnews2.php on line 119
I have no idea what's wrong. Here's the code that's causing this error:
$sql = "SELECT * FROM cs_smiles";
$result = mysql_query($sql, $dbp);
while($row = mysql_fetch_array($result))
{
$story = eregi_replace($row[textsymbol],"<img src=\"$row[url]\" alt=\"$row[bigname]\" />",$story);
}