if i have for example this variable
$name = "John";
how can i echo the first letter only so the result on the browser will be "J"
echo $name[0];
You could also use the substr() function.
Larry
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php