Category Archives: PHP Beginners Course

What is a Database?

Database is used to store information like your customer’s information – first name, last names, email address, address, and etc… Database is very useful on a dynamic website (type of website that needs frequent change of content like news, e-commerce, … Continue reading

Posted in PHP Beginners Course, PHP Tutorial | 1 Comment

PHP Variables

Variables in any programming language are used to hold/store data such as String, Numeric (int, float, double), Array, or Objects. $test_variable_name = “Paolo”; $counter = 10; PHP variable is like an ice cream cone (see image below), the cone itself … Continue reading

Posted in PHP Beginners Course, PHP Tutorial | 1 Comment

Embedding PHP in HTML

Embedding PHP in HTML is so easy. <html> <head> <title>PHP in HTML</title> </head> <body> <?php echo “Hello World”; ?> <p>Hi Universe!</p> <ul> <?php for($i=10; $i>0; $i–) { ?> <li> This is number <?php echo $i; ?> </li> <?php } ?> … Continue reading

Posted in PHP Beginners Course, PHP Tutorial | 3 Comments

First Program: Hello World

Requirements: Text Editor: Notepad++ (Recommended) XAMPP Browser: Chrome, Mozilla, or Internet Explorer Problem: Write a program that will print “Hello World” in php (without the qoutes). Solution: 1. Open up Notepad++ 2. Enter the source code below and save as … Continue reading

Posted in PHP Beginners Course, PHP Tutorial | Tagged , | 3 Comments

Top 5 Reasons Why use PHP?

If you need your Static HTML Website — a website that contains fixed content or doesn’t need frequent changes — embed a dynamic text, then you will find PHP extremely useful. Remember, PHP was designed for creating Dynamic Websites — … Continue reading

Posted in PHP Beginners Course, PHP Tutorial | 1 Comment