shubhrat mishra working with php 2

Post on 05-Apr-2017

66 Views

Category:

Education

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Shubhrat MishraMCA (V-Semester)Srmscet, Bareilly

Installing PHP using WAMP Server

Installing PHP using WAMP Server -2

Installing PHP using WAMP Server-3Installing PHP using WAMP Server-3

Installing PHP using WAMP Server-4Installing PHP using WAMP Server-4

Installing PHP using WAMP Server-5Installing PHP using WAMP Server-5

Starting & Stopping iisadmin service

Starting WAMP Server

Example 1

Example 2

Example 3– global Variable

Example 4 – static Variable

Example 5 – Reference Variable

Example 6 – Variables Variable

Example 7 – if else

Example 8 - switch

Example 9

Example 10 – foreach Loop

Example 11

Example 12

Example 13 – Escape Character (\)

Example 14 – printf(), sprintf() and getType()

Example 15 – Numeric Array

Example 16Associative

Array

Example 17 – 2 Dimensional Array

Example 18 – Multidimensional Array

Example 19

Example 20

Example 21

Example 22 – Accessing Global Values through Functions

Example 23 – Recursive Function

Example 24 – Anonymous Function

Example 25 – Mathematical Functions

Example 26 – Mathematical Functions

Example 27 – Mathematical Functions

Example 28 – String Functions

Example 29 – String Functions

Example 30 – String Functions

Example 31 – String Functions

Working with Forms

Example 32 – GET Method

Example 33 – POST Method

Uploading a File

upload.html

upload.php

Cookies&

Sessions

Example - Hard Coded Cookie

Example - User Defined Cookie

Example - Accessing Session on Same Page

Example - Accessing Session on Different Page

Mailing

Errors &

Exceptions

Example – Using die()

Example – Using trigger_error()

Example – Exception Handling using try-catch Blocks

DatabaseConnectivity

Example – Connectivity using DSN & ODBC

Creating DSN

Example – Connectivity using MySQL & phpMyAdmin

View of Table from Show Records.php, in localhost

View of Table from phpMyAdmin

top related