changing word ouput in php
Posted: Sat Oct 15, 2005 12:34 pm
ok, this is complicated to explain but the hell with it..
say i've got a script like this..
if you are familiar with count(), you should know that you need to array each word. One problem my input script is only like this..
does anyone know how to solve this problem? thanks alot
say i've got a script like this..
Code: Select all
<?
$words = $_GET['words'];
echo count($words);
?>Code: Select all
<form action="script.php" method="GET">
<input type="text" name="words">
<input type="submit" value="submit">
</form>