PHP

Paper Code: 
CSC 612B
Credits: 
03
Periods/week: 
03
Max. Marks: 
100.00
Objective: 

This module is designed to help students for creating dynamic web sites.

9.00

Introduction to server-side scripting languages, Working and importance of PHP.

PHP: Introduction, Basic syntax, Inserting comments, Data types, Variables, Constants, Strings, Operators, Conditional statements and looping constructs, Arrays.

 

9.00

PHP functions (with parameters, functions returning values), Built-in functions- Date, Time, String, arrays,  Handling an HTML forms, PHP server variables.

Including Multiple Files (require, require_once, include, include_once).

 

9.00

Introduction to MY-SQL, Data types and MySql Syntax, Connecting to My-Sql, Executing simple Queries, Retrieving Queryresults (mysql_connect, mysql_close, mysql_select_db, mysql_query, mysql_fetch_row, mysql_fetch_array)

 

9.00

Common Programming Techniques: Sending values to a script, using hidden form inputs, editing existing records, making sortable displays

 

9.00

Cookies and Sessions: Setting & accessing cookies, setting cookie parameters, deleting cookies. Setting & accessing session variables, deleting session variables                                                    

ESSENTIAL READINGS: 
  1. Ivan Bayross,”HTML, DHTML, JavaScript, PHP”, BPB Publications.
  2. Larry Ullman, ”PHP 6 & MySQL 5,For Dynamic Websites” Peach pit Press.

 

 

REFERENCES: 
  1. Jamsa, King & Anderson “HTML & Web Design”, TMH Publications.

 

Academic Year: