Lesson # 3 (PHP): Using PHP Comments

0 comments
The comments in the code will be a major point for a Web Developer to start his PHP Learning Career. We add comments because it facilitate us to look-up the past coding which we have forget. As well as It also give the pretty much nice look to the code. The code comments do not show on the browser. They get skipped or you can say hide! Every Good Professional Web Developer must write code comments. Another advantage of Comments is that we can easily read the our code or someone's.

Here are the different ways to add comments in code...

<?php // A Single Line Comment
?>

<?php 
# Second way to write single line comment
?>

<?php
/*
Multiple Line Comment
This is only 
way to write multiple (dual or more line)
comments
*/
?>
Read more ►

Lesson # 2 (PHP): How to check PHP is enabled on your server ?

0 comments
In the second part of learning PHP. We are checking php is enabled on your server ?
Before you creating .php files you have to check PHP activity on your server.






FOLLOW THESE INSTRUCTIONS:


  • Open the Notepad 
  • Set the name of the .txt file php_check_active.php
  • Put this file on your server if you are using localhost put it into the (www) directory inside the folder of Wamp , Xampp or else. and If you are using WebHosting So Put the file into public_html directory.

Read more ►

Lesson # 2 (HTML): HTML Elements

0 comments
Everything in between The Start of Tag to the end of tag is called HTML Element. HTML Elements are some time referred as HTML Tags. It is used to marking up the webpages. The documents of HTML are defined by HTML Elements.










Discussing on Start and End Tag !

HTML Elements based on start tag and the end tag.
Here is the example :

Start Tag :
Let's Suppose we starts with paragraph element
<p>  (START tag)
</p> (END Tag)

As you can see above that end tag contain a slash (/) before the letter. It means you have end your tag by adding slash in the element.

Conclusion :

So, The Conclusion is that AN End Tag Contains a slash in the starting.

Read more ►
 

Copyright © The Coding Master Design by O Pregador | Blogger Theme by Blogger Template de luxo | Powered by Blogger