Basic Syntax in php

PHP is quite a simple language with roots in C and Perl, yet it looks more like Java. It is also very flexible, but there are a few rules that you need to learn about its syntax and structure Semicolons $x += 10; The $ symbol Variables String variables $username = “Fred Smith”; first PHP … Read more

Comments in php

There are two ways in which you can add comments to your PHP code. The first turns a single line into a comment by preceding it with a pair of forward slashes // This is a comment A multiline comment