Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web System & Technology

Similar presentations


Presentation on theme: "Web System & Technology"— Presentation transcript:

1 Web System & Technology
Best Professional Development Institute Prepared by Ali Saeed

2 Bootstrap Bootstrap is most popular HTML, CSS and JS framework to develop responsive website.

3 Get Bootstrap You can download bootstrap from http://getbootstrap.com/
Or you can use following link <link rel="stylesheet" href=" beta.2/css/bootstrap.min.css" integrity="sha384- PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">

4 Bootstrap Grid System It divides the whole page into 12 columns
<div class=“container”> <div class=“row”> <div class=“col-md-4”></div> <div class=“col-md-2”></div> <div class=“col-md-6”></div> </div> We might also use <div class=“col-md-6 col-xs-12”></div>

5 Bootstrap Grid System

6 PHP Built in Functions strlen("Hello world!") //output is 12
Print_r (file("test.txt")); // read text file echo strpos(“University of Lahore",“of"); //return position of the word Is_int($x)// return 0 or 1. if $x is integer then it return 1 otherwise 0. Is_string($x) //return 0 or 1. if $x is string then it return 1 otherwise 0. In_array(“Word”,$x)// return 0 or 1. if word is in array $x then it return 1 otherwise 0. Example of if statement: <?php $t = date("H"); if ($t < "20") {     echo "Have a good day!"; } ?>

7 Arrays in PHP <?php $cars = array("Volvo", "BMW", "Toyota"); echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . "."; ?> <?php $age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43"); echo "Peter is " . $age['Peter'] . " years old."; ?>

8 Thanks


Download ppt "Web System & Technology"

Similar presentations


Ads by Google