Thursday, 25 October 2012

Comments in PHP

In PHP, we use // to make a one-line comment or /* and */ to make a comment block:

<html>
<body>

<?php
//This is a comment

/*
This is
a comment
block
*/
?>

</body>
</html> 

No comments:

Post a Comment