home

Thursday, June 27, 2019

php training institute in noida


PHP training institute in noida- Our PHP Training course provides the knowledge necessary to design and develop dynamic, database-driven web pages. PHP is a language written for the web, quick to learn, easy to deploy and provides substantial functionality required for e-commerce. PHP course introduces the PHP framework and syntax, and covers in depth the most important techniques which are used to build dynamic web sites. We are the best php training institute in Delhi, offers professional php course with project in noida.

Php Modules:-
# Introduction To PHP
                   * Evaluation of Php
                          *    Basic Syntax
                         *   Defining variable and constant
                        *   Php Data type
                        *  Operator and Expression
# Handling Html Form With Php
                  * Capturing Form Data
                 *  Dealing with Multi-value filed
                 *  Generating File uploaded form
                 *  Redirecting a form after submission

Overview
    Why Learn PHP?
     PHP is a widely used server-side programming language that’s become increasingly fast and powerful over the years. PHP works well with HTML and databases, making it a great language for anyone interested in building dynamic web applications. php training in noida

An introductory example
    <!DOCTYPE html>
<html>
    <head>
        <title>Example</title>
    </head>
    <body>

        
<?php
            
echo "Hi, I'm a PHP script!";
        
?>

    </body>
</html>
Instead of lots of commands to output HTML (as seen in C or Perl), PHP pages contain HTML with embedded code that does "something" (in this case, output "Hi, I'm a PHP script!"). The PHP code is enclosed in special 
What distinguishes PHP from something like client-side JavaScript is that the code is executed on the server, generating HTML which is then sent to the client. The client would receive the results of running that script, but would not know what the underlying code was. You can even configure your web server to process all your HTML files with PHP, and then there's really no way that users can tell what you have up your sleeve.
PHP Data Types
Variables can store data of different types, and different data types can do different things.
PHP supports the following data types:
  • String
  • Integer
  • Float (floating point numbers - also called double)
  • Boolean
  • Array
  • Object
  • NULL
  • Resource

PHP String

A string is a sequence of characters, like "Hello world!".
A string can be any text inside quotes. You can use single or double quotes:

Example:-

 <?php
$x = "Hello world!";
$y = 'Hello world!';
echo $x;
echo "<br>";
echo $y;
?>

PHP Integer

An integer data type is a non-decimal number between -2,147,483,648 and 2,147,483,647.
Rules for integers:
  • An integer must have at least one digit
  • An integer must not have a decimal point
  • An integer can be either positive or negative
  • Integers can be specified in three formats: decimal (10-based), hexadecimal (16-based - prefixed with 0x) or octal (8-based - prefixed with 0)






          

No comments:

Post a Comment