PHP Tutorials

 PHP Tutorials

Programming Tutorials

  • What  is PHP ?

    PHP stands for “Hypertext Preprocessor”. PHP comes from its earliest program, called “Personal Home Page”. PHP is a open source interpreted scripting language same as Microsoft asp (Active Sever Pages).

    PHP is a server-side scripting language. PHP is most popular scripting language for developing a dynamic web site.

    PHP is used to create dynamic webpage like registration form and login form for user with check credential username and password and if valid then login in to website other wise display an error message such as invalid login detail.

    A PHP file contains HTML and JavaScript script code. The PHP and JavaScript both can be embedded into HTML web page. PHP is a server side script that run on web server while JavaScript is a client side scrip which is run on client browser.

    PHP script are executed on web server and the result will be displayed in client browser as plan HTML.

    PHP Scripting Language

    • PHP code is a server side scripting language.
    • PHP is an interpreted scripting language.
    • PHP is an open source free to download and use.
    • PHP is a platform independent scripting language.
    • PHP script easy to learn as compare to other server side language.
    • PHP file has “.php” extension.
    • PHP file contains HTML, CSS, JavaScript and PHP code.

    PHP Example

    PHP is a interpreted with HTML page, means we have to write PHP statement within a HTML document such like :

    <html>
    <head>
    <title>My First PHP Example</title>
    </head>
    <body>
    
    <?php
    //Display Hello message
    echo "Hello ";
    ?>







Yorumlar

Bu blogdaki popüler yayınlar

PHP PROGRAMMING