Detailed Contents | Contact Hours |
Unit 1
Introduction to PHP Evolution of PHP & its comparison Interfaces to External systems, Hardware and Software requirements, PHP Scripting. Basic PHP Development, Working of PHP scripts, Basic PHP syntax, PHP data. types. [CO1]
Displaying type information: Testing for a specific data type, Changing type with Set type, Operators, Variable manipulation, Dynamic variables and Variable scope. [CO1] | 11 |
Unit-II
Control Statements if() and elseif() condition Statement, The switch statement, Using the? Operator, Using the while() Loop, The do while statement, Using the for() Loop. [CO3]
Functions Function definition, Creation, Returning values, Library Functions, Userdefined functions, Dynamic function, default arguments, Passing arguments to a function by value. [CO3]
String Manipulation Formatting String for Presentation, Formatting String for Storage, Joining and Splitting String, Comparing String . Array Anatomy of an Array, Creating index based and Associative array, Looping array using each() and foreach() loop. [CO2] | 10 |
Unit-III
Forms Working with Forms, Super global variables, Super global array, Importing user input, Accessing user input, Combine HTML and PHP code, Using hidden fields, Redirecting the user.
Working with File and Directories Understanding file & directory, Opening and closing a file, Coping, renaming and deleting a file, Working with directories, File Uploading & Downloading. Generating Images with PHP: Basics computer Graphics, Creating Image. | 10 |
Unit-IV
Database Connectivity with MySql Introduction to RDBMS, Connection with MySql Database, Performing basic database operation (DML) (Insert, Delete, Update, Select).[CO4] [CO5] | 2 |