hey, thanks for the reply.
I haven't the time to test it out at the moment but i will check this thread resloved when i have tested it out tomorrow or wednesday morning 🙂.
Good point with the "1" without paranthesis.
As for the if() statement outside the while statement - correct me if i'm wrong 🙂 - but it shouldn't matter because $nogo has one added to it IF and only if there is a result (str_replace not working as it should doesn't help, but... point is there 🙂) found in the while statement.
Presuming it does this on occurance of $word being found in the textarea1 or 2, then it should presumable only increase by 1 per time word is found?
So for every 1 word found it does + 1, therefore $nogo should process something different if it is greater then or equal to 1. Maybe i'm wrong on this note, but that's how i wanted the script to work 🙂