PHP Study

Monday, 10 September 2012

Comment in PHP

<html>
<body>

<?php
//This is a comment area

/*
This is
a comment
block area
*/
?>

</body>
</html>
Posted by PHP Info at 01:44 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: In PHP, we can use // to make a single-line comment or /* and */ to make a large comment block.

Php Syntax

<?php
//your php code goes here
?>
Posted by PHP Info at 00:42 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Php Syntax With HTML

<html>
<title>
<?php 
echo "Welcome to my web page"; 
?>
</title>
<body>

</body>
</html>
Posted by PHP Info at 00:36 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Home
Subscribe to: Comments (Atom)

Blog Archive

  • ▼  2012 (3)
    • ▼  September (3)
      • Comment in PHP
      • Php Syntax
      • Php Syntax With HTML

About Me

PHP Info
View my complete profile
Simple theme. Powered by Blogger.