Tutorial Title: Dynamic Data and Inserting Comments in PHP
Course: PHP
Instructor: Muhammad Samim
1. Intro
2. Advantage
Course: PHP
Instructor: Muhammad Samim
1. Intro
- Displaying same content in multiple pages using variable
2. Advantage
- If we want to change the content like owner name etc then changing in one place will make change in all pages so we don't need to change in every page.
3. How to do that
- <?php $variableName = "Content"; ?>
4. Calling by VariableName
- <?php echo $variableName; ?>
5. One line comment
- use // before comment
6. Multiple line comments
- use /* in start and */ at the end of multiple lines comment
Comments
Post a Comment