At 1:00 PM -0500 4/8/09, Terion Miller wrote:
Thought I would go ahead and post a bit more on this, so here is my
wordcount little function on the textarea of the form:


or do I need to define the variable? think I'm starting to confuse myself

The reason why you are starting to confuse yourself is that you are still considering doing some part of this by including javascript in the solution -- there is NO need.

Just receive what the user submits and process it server-side before mailing -- pure and simple.

That way not only can you clean the submission, but you can count the words and put that count in the subject line like you wanted. This really a simple problem. You are complicating it by including javascript.




PHP General Mailing List (
To unsubscribe, visit:

Reply via email to