Preg_match with an array


Posted on 16th Feb 2014 07:03 pm by admin

is there an away to use preg_match with an array?

i want to check a string with an array to see if it contains badwords however i get an error saying string expect it got an array, which i know.

No comments posted yet

Your Answer:

Login to answer
60 Like 30 Dislike
Previous forums Next forums
Other forums

user validation always displaying invalid ? please help
Hello,

I have 2 accounts and there is a field in mysql called validated it can be either &quo

Storing the referrer in session... problems with tabs
Hello All

I am currently working on an ERP project based on the MVC methodology, when a user

WELCOME SCREEN
first of all let me tell you what does my script do,

it´s a very simple query to show a e

extract content from a website
i have written a code that will grab the content from the index page..
i would like to know how c

get url?
how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i

Problem with variable declaration in switch statement
Hello, I am having some trouble assigning a value to a variable inside a switch statement. What I a

Php WordPress help
I am writing the following code for making a plugin

<?php
header("Content-Type

Mail Script Problems
I have created a PHP mail script. I am having a problem though. In $body i am trying to put two va

Parse Error Help
Hello, I got the parse error "Parse error: syntax error, unexpected ',' in register.php on line

exclude characters from counting?
Hello, I wanted to ask if you have a string like:
Code: $my_s='ASRGREGTGTR----REGREGRE+++RRRRRR..

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash