Download presentation
Presentation is loading. Please wait.
1
Hypertext Preprocessor
PHP Hypertext Preprocessor
2
Introduction PHP is a server side scripting language that is embedded in HTML. It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites.
3
Object oriented concepts
PHP Object oriented concepts
4
PHP Classes <?php class phpClass { var $var1; var $var2 = "constant string"; function myfunc ($arg1, $arg2) { [..] } ?>
5
PHP Constructor PHP provides a special function called __construct() to define a constructor. You can pass as many as arguments you like into the constructor function.
6
PHP destructor Like a constructor function you can define a destructor function using function __destruct(). You can release all the resources with-in a destructor.
7
Dynamic Websites with PHP
The Websites provide the functionalities that can use to store, update, retrieve, and delete the data in a database.
8
Validation Validation means check the input submitted by the user. There are two types of validation are available in PHP. They are as follows − Client-Side Validation − Validation is performed on the client machine web browsers. Server Side Validation − After submitted by data, The data has sent to a server and perform validation checks in server machine.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.