ANNA UNIVERSITY COMPUTER SCIENCE AND ENGINEERING MATERIALS DOWNLOAD
Pages
HOME
ANNA UNIV RESULTS
QUESTIONS DOWNLOAD
SYLLABUS
MATERIALS DOWNLOAD
IMPORTANT LINKS
Wednesday, February 5, 2014
Php program using loops
<html>
<body>
<?php
for ($i=1; $i<=5; $i++)
{
echo "The number is " . $i . "<br />";
}
?>
</body>
</html>
Output:
The number is 2
The number is 3
The number is 4
The number is 5
The number is 6
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment