This module is designed to help students for creating dynamic web sites.
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.
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).
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)
Common Programming Techniques: Sending values to a script, using hidden form inputs, editing existing records, making sortable displays
Cookies and Sessions: Setting & accessing cookies, setting cookie parameters, deleting cookies. Setting & accessing session variables, deleting session variables