[eluser]Clifford James[/eluser]
I have this code:
Code:
preg_match('int(10)', '/\w+/', $matches);
or
Code:
preg_match('int(10)', '/[\w+]/', $matches);
or
Code:
preg_match('int(10)', '/(\w+)/', $matches);
and this error:
Quote:Message: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash
What am I doing wrong here?