Hey all, I get this warning...."Warning: Delimiter must not be alphanumeric or backslash" And here is the code it comes from, but I'mnot sure what the problem is.
while ($row = mysql_fetch_array($myresult)) {
$theword = $row["word"];
$worddef = $row["definition"];
$caption = "Definition: ".$theword."";
$replace = "<a href='javascript:void()' onMouseOver='overlib(\"".$worddef."\", CAPTION,\"".$caption."\")' onMouseOut='nd()'>".$theword."</a>";
//THIS IS WHERE THE ERROR IS $forminput = preg_replace($theword, $replace, $forminput);
}