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

PHP page is blank
Hi Everyone,

I have a site in which I am able to open the first PHP webpage in my browser but

Delete all files in folder except with certain name
I have a script that I want to delete all files in a folder (taken from a database) except for one n

include function being weird?
I have a very simple system to grab an IP outputted by a PHP file.. (for a project I have) but it ou

Chat Box in PHP
I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Mes

problem with GROUP BY and ORDER BY
i usually use this query to display the last 10 entries from a sql table:

Code: $query = &quo

Can't get the unicode character
I'm trying to get some text from various parts of a file. I have converted the file to hex (bin2hex)

get multiple rows
Hi I want to get multiple rows from a db

I am using this for the db query
Code: public

Sum of Values in an Array
This is probably really simple... but it's been years since I've written anything, so bare with me!<

turning an array into a string then poping it into a db
Hi im just wondering how you get a requested array into a single string then pop it into the db so f

Onclick problem in Firefox
Hi,
I am using a . It doesn't seem to

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