Thursday, October 26, 2017

simple PHP funcitons.

simple PHP program


Syntax:
<?php 
statement 1
statement 2
?>


phpinfor();

  • information about installed php
  • php.ini file is a php configuration

strtolower(variable)

To change the string upper case to lower 

Echo "";


Print the given value

variable

Ex:
$var
$ila

Concatenation :

Combined 2 string is called concatenation.
Ex:
Echo "The date is ".$day.$date.' '. $year;

No comments:

Post a Comment

ads

php Functions

php Functions Php has more function which are listed below and small description also mentioned .  ==>  foreach (food as ele...

ads