Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 200003

Re: [PHP3] swear word checker From: Jay (jay <email protected>)
Date: 03/31/00

How about:

$bad = array("fuck","shit","piss");
for ($i=0;$i<count($bad);$i++)
{
$entry=eregi_replace("$bad[$i]","CENSORED",$entry);
}