Disallowed characters with Insert PHP
-
Hi I have been grappling with a problem whereby insert php causes my code to be written out when the code is executed. I have isolated this fragment which is causing the issue:
[insert_php]
$email_exp = “/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/”;
[/insert_php]If you run this it should print nothing but it actually displays the above code.
Is there some character in the assignment statement which is causing this?
- The topic ‘Disallowed characters with Insert PHP’ is closed to new replies.