Login Register






[How To] Word Counter filter_list
Author
Message
[How To] Word Counter #1
(07-17-2013, 04:03 PM)Sanctuary Wrote: Thanks guys. Smile And yeah, I read somewhere about the sterl function in PHP, it's an alternative to this.
I'll make a tutorial on how to make a Word Counter as soon as I found out how, since those have more use. Tongue

This thread has been requested by Sanctuary.

PHP Code:
<?php echo str_word_count("This line of code will display the number nine"); ?>

:tongue:

Reply

RE: [How To] Word Counter #2
Pretty simple, good for beginners I guess.
  • Contact Paradox or Uzi for Admin related duties
  • Contact Operate for Staff queries
  • PM me if you need any help.

Reply

RE: [How To] Word Counter #3
Pretty simple compared to how you would do it with jQuery, but to make it so anybody can use it, you'd need to create a variable, and assign it to the textarea/input, then have it echo out the number, and blah blah blah. Tongue
Still a nice tutorial though, and doesn't need much explanation.

Reply