First of All I am creating a bad word filter using php and mysql. I am using the script to look for a bad word when it finds it. the script will display.. Not Allowed or something like that..
I have managed that but the script will contine if NO errors are recorded it uses
$i++; each time a error is displayed..
This works but when I display it in a fuction it starts back to 0?
You can see my script here..
http://www.traffic-exchange.com/gbook/new.phps
Any Help would really be help full..
to see what I am talking about go here.
http://www.traffic-exchange.com/gbook/new.php
Type in pussy in the name field and leave all others blank.
It should display 8 errors but not.. It only counts 7 errors but lists 8 errors! It does not count the bad word as a error!
I need some help on this one..