This is a very good example of dynamically calculating the number if text entered into a textarea.
This especially useful for developing client apps for Twitter and the like.

140
'; } } function desktop_theme_search_form($query) { $query = stripslashes(htmlentities($query)); return "
"; } ?>

For more information on this form and the rest of the code, please see here >>