To be creative you must have courage. Do not ask foropinions. Just do it.
Use the Search Box before you post a new topic to make surethe same kind of topic doesn't exist already!
off Shimul


Posts : 1

Rank: Newbie

[TUTORIAL]Basic PHP Syntax#1
On: Mon 26-Oct-2015 18:38:11

Basic PHP SyntaxA PHP script can be placedanywhere in thedocument.A PHP script starts with <?php and ends with ?> <?php// PHP code goes here?>The default file extensionfor PHP files is ".php".A PHP file normallycontains HTML tags, andsome PHP scripting code.Below, we have anexample of a simple PHPfile, with a PHP script thatuses a built-in PHPfunction "echo" to outputthe text "Master Mob" ona web pageExample: <!DOCTYPE html><html><body><h1>My first PHP page</h1><?phpecho "Master Mob";?></body></html>Note: PHP statements endwith a semicolon (;)

Helim , Thanks Shimul 's Topic

Last Edited By : Shimul