m validating one input field in php. for that i m using perg_match function .
Code: Select all
preg_match('/[^a-zA-Z/., ]/', $vendor)"Warning: preg_match() [function.preg-match]: Unknown modifier ',' in C:\wamp\www\inventory\desktops\update.php on line 158"
can anyone tell me how to use / symbol , so that it won`t give that warning