PHP PROGRAMING DAY - 3
http://php.flashwebhost.com/ramesh/day-3/strlen.php
Code:
<?php
$sentenceOne = 'Rajamanikyam';
echo 'Rajamanikyam' . '<br>';
$sentenceTwo = 'Rajamanikyam is a 2005 Malayalam film, the directorial debut of Anwar Rasheed';
echo 'Rajamanikyam is a 2005 Malayalam film, the directorial debut of Anwar Rasheed' . '<br>';
$sentenceThree = 'Starring Megastar Mammootty in the title role';
echo 'Starring Megastar Mammootty in the title role' . '<br><br>';
echo strlen ($sentenceOne) . '<br>' ;
echo strlen ($sentenceTwo) . '<br>' ;
echo strlen ($sentenceThree);
Bookmarks