PHP sample coding for easy learning.
- Get link
- Other Apps
What is PHP? For Web Application Development using Php
Php full form is Hypertext Preprocessor and Php PHP is introduced by Rasmus Lerdorf in 1994.
Php is a server-side scripting language like Asp, in other words, we can say Php is a powerful tool for creating dynamic and interactive web pages.
PHP script is executed on the server it is a wamp, apache, and Php can use with many different databases like MySql, Informix, Oracle, Sybase,
Solid, PostgreSQL, Generic ODBC, etc
Php is server installation and writing PHP code is very simple and easy to understand and it is best and popular because one reason is it is an open-source
software so it is free to download and use from the following Weblinks: www.php.net. Php is use on mostly all famous operating systems like Windows, Linux, Unix, Mac, etc.
In the old day when PHP is used by the user and developer, it is known as the Core Php concept with some feature is not contain the current Php version.
In today time Php compatible with all most all service like Apache, IIS, etc and Php have many loaded extension like on wimp server software such as Core,
Ereg, JSON, zip, bcmath, session, date, MySqli, etc.Php can use with two software one is a WAMP and another is a XAMMP sever.
Php is very good for web development Php to contain the most useful and popular website developed through Php, for example, some websites Facebook, Wikipedia,
Tumblr, Yahoo, Wordpress.com.
Php files are used with many Front end language for web design such as HTML tags and scripts here some are not language its sample design tools, CSS,
BOOTSTRAP, Javascript, and many more.
Php files use the extension ".Php", "Php3", or "Phtml" and Php is returning to the browser as plain HTML, In Php use any editor we use but notepad++, Dreamweaver .
Now we can see how to create PHP code and how to run and show the output of the program. Here I print Hello World message in Php below you can see Php basic
structure:
<?PHP
................................
................................
message want to display or statement goes here
..................................
?>
IN the above basic structure firstly we can see <?PHP open tag which is required to start code of Php next line you can statement in simple word we can print any
message here and between this logic and many other concept comes.
NOW we can write the program of Hello World we can write code with HTML and without HTML but with HTML give more design and formatting.
HERE YOU CAN SHOW PROGRAM In Image:
Save this code in any editor and press CTRL+S when show pop-menu they are you can choose Filename with .php extension and in Save as Type
option select All Types, for example, Hello word.php here Hello word is the filename with.PHP extension.
During save this file select path where you install PHP wamp server by default it is a "C:\wamp\www\Pr\Hello world.php"
choose this path otherwise you can directly copy and paste to WWW folder and now start wamp server and go you default browser and write in the address bar
localhost and hit enter than wamp homepage is open Right side see YOUR PROJECT below Pro is your project name click on and show you, Hello world file click on
it and it is a give your HELLO WORLD output.
- Get link
- Other Apps
Popular posts from this blog
How write java Sample Program
SQL plus and Get Started With Oracle Database 11g Express Edition
How to Install Oracle SQL PLUS When you work on non programmer database then most of users use SQL. SQL is a sample high-level language. In past time IBM co. is found.but its commercially implement by oracle corporation. . To install SQL plus we need to download Oracle 11g Database Express Edition because Express editions are free for use with different user login. Once you have to download the oracle 11g setup from any site I suggest you google search and download from any software site because the Offical site is required to sign up after you are available for download. Using this link and download 11g express edition: https://www.filehorse.com/download-oracle-database-express-32/ If given link not work you can search your way any site. but please download express edition because of its free version of the oracle database. Another way is CD or DVD is available is a good option. insert cd or DVD in DVD ROM then DVD is automatically run and show installation screen. Af
Comments
Post a Comment
Thank you for comment and your feedback.