Hi all,
I've got this code:
preg_match($_POST[searchterm], $row[content], $matches);
print_r($matches);
However, I get this error:
Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in /home/lit/public_html/searchauthor.php on line 86
Array ( )
Does anyone know whats wrong? I think its something to do with the $_POST variable, but not sure how to sort it...
Thanks a lot,
Mike