Using pregmatch with $content
-
Hi i am trying to run this code snippet globaly:
if ( ! preg_match( ‘/https?:\/\/\S+/i’, $content ) )…
but it says that $content is not a string.
How can i turn it into a string.
Thanks in Advance.
Enes
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.