on air

Basic PHP Syntax.

back home » Scripting Tutorials » PHP » Basic PHP Syntax.

PHP Basic Syntax.

Every PHP syntax starts with a left angle brace followed by a question mark, and php.

Notice, in the illustrations below, thre are two ways of using php basic syntax.

Removing the php that comes after the question mark is also right. However, it's a good practice adding the php for the assurance of its proper functioning.

Everything that comes on the following lines are treated as PHP code.

After the code, the syntax is closed using a question mark followed by a right angle brace.

The Reliable PHP Basic Syntax.

Writing your syntax correctly including php is more reliable than leaving it out.

See the illustration below.

//Everything here is PHP code.

Alternative PHP Basic Syntax.

You can alternatively write your syntax without php [Not advisable].

See the illustration below.

/*Syntax without php following the 
question mark is also correct,
but may be proving stubborn to some browsers.

However, both work fine these days 'cause severs has grown more wisely to understand deprecation and accept them.

PHP Syntax.


Man will give you worldly powers, and make you feel on top of all, note this is temporally and could be redrawn at anytime sending you back to the ground floor of life. However, the Lord Almighty, the one and the only rightful ruler of the Universe, blesses everlastingly.


Knowledge is Power, but Power is not Knowledge. Wisdom is the truthful Power that identifies the Knowledge within the man. And only, I repeat 3x. Only the almighty God has the power to bless the man with his Wisdom forever.

To achieve the Lord's blessings, cease not praying daily, asking for his Wisdom, and you'll be blessed abundantly...


Spyera Phone

Spyera Phone version is software that you install on a smart phone to monitor everything happening on the phone. After installation, SPYERA secretly records events (sms, call history, phone book, location, emails, What's App messages, IM, Facebook Chat, Skype, See photos taken and many more...) that happen on the phone and delivers these information to a web account, where you can view these reports 24/7 from any Internet enabled computer or mobile phone. SPYERA also allows you to listen to the surroundings of the target mobile , listen to the phone conversation and to know the location of the device.

Please, Kindly Donate What You Can, Enabling Us Pay Hosting And Domain Costing, And Do More.

Please Donate