PHPFront
Home
PHP Codes
Tutorials
Scripts
Submit Code
About
Home
>
PHP
> Countwords in a var
The PHP website created by its users!
Search:
Most popular PHP codes
Latest 10
Submit Code
Photographic locations
Countwords in a var
Author
Description
Use this to find the number of words in a variable
Rating
(3 votes)
PHP Code
<?php
$no_of_terms
=
count
(
$search_terms
);
?>
Rate it:
5 - Excellent
4 -
3 - Not bad
2 -
1 - Poor
Print
Comments
No comments posted yet.
Name
Website
Your comment