Choosing Php as career : Php Training in Chandigarh

Choosing Php as career : Php Training in Chandigarh


php training in Chandigarh

PHP Training in Chandigarh is the best choice for the freshers like the understudies or the
 general population
 which are a noob to the corporate world. The hypertext preprocessor is widely known as PHP . 
 It is most commonly used scripting language. Php scripts are executed on the server and the
 result is returned to the browser as a plain HTML. Moreover it is free to download and use.

To learn More visit : Php Training in Chandigarh

What actually Php files are?
Php files are usually not only consists of Php codes.
There are other files used in PHP  like JavaScript, HTML and CSS or other Texts.
These Php files are then saved by the .php extension.
Php can create dynamic page content and can be run on various platforms like
  1. Windows
  2. Linux
  3. Mac OS X
  4. Unix etc.
Php can create, Open, read, write and delete files on the server. Php is compatible
 with almost all the servers like IIS, Apache, etc.
Php can send and receive cookies and can collect form data. It can also encrypt
data.
What are Php functions?
Php consists of nearly 1000 built-in functions, other than that we can create our
 own functions. There are various user defined functions.Before we talk about
 user defined functions, the first thing to know is:

what actually a function is?
A function is typically a square of explanation that can be utilized more than 
once in a program". A function won't execute promptly while the stacking 
of the page. A function will not execute immediately while the loading of 
the page. A call to a function helps in executing a Function.

How can we use User Defined functions in Php?
A function name should starts with a Letter or an Underscore.
Function names are not Case-Sensitive.
SYNTAX:
     Function functionname(){
Code to be executed;
}
Php Function Arguments :    
An argument is just like a variable. The information is passed to functions
 with the help of an Argument. Arguments are specified under the function
 name inside the Parentheses. The client can add as many arguments of 
their choice by them with the comma.
The accompanying illustration has a function with one argument($fname). 
When the function Family Name() is called, we can also pass along a name
( eg. Sam), and the name is utilized inside the capacity which yields a few
 distinctive First names however a similar Last name. The accompanying
 project is about the use of Default parameter.
<?php
Function familyname($fname){
     echo”$fname Refsnes.<br>”;
}
FamilyName(“Sam”);
FamilyName(“Chris”);
FamilyName(“Tony”);
FamilyName(“Martha”)
FamilyName(“rey”)
?>





Php default Argument Value
The following program is about the usage of Default parameter. 
If we call the function SetGrades() without
 arguments it takes the default value 
as an argument.

<?Php
Function SetGrades($minGrades = F){
       echo”the Grade is  : $minGrade <br>”;
}
setGrade(A);
setGrade();                //will use the default value F
setGrade(B);
setGrade(C);
?>
To Read more visit : PHP Training in Chandigarh



Comments

  1. Services We Offer-
    Website Designing, website development, Mobile App Development, E-commerce solutions, CRM development, Internship and Training

    ReplyDelete

Post a Comment

Popular posts from this blog

Php Questionaire : Php Training in Chandigarh

Course overview with Php Training in chandigarh