Professional Documents
Culture Documents
php Q2
php Q2
2.a) Discuss some pitfalls commonly seen with the practice of inserting HTML inside PHP.
b) Demonstrate passing the variables from page to page through an URL and with sessions.
UH
[5+10]
seU
3.a) How to create and call user-defined functions in PHP scripts? Illustrate with an example.
b) Explore various functions for manipulating strings in PHP scripts with examples. [7+8]
dse
4. List and explain various variable functions and Date functions available in PHP with syntax
and example. [15]
Pda
5. Build a web application by creating FORMs using various buttons, text boxes and other
elements of your choice. Write the justifications of each element in the form creation. [15]
pPea
6.a) How to test the existence of a file and open it for doing read operations using PHP
functions? Illustrate them with an example PHP program.
b) Give the syntax of flock( ) function and explain it need in PHP. [8+7]
rpse
7. Explain the detailed steps in allowing users to create an image table and upload images
using the support of GD library. [15]
2rs0
8. Summarize various commands to work with and process database tables in MySQL.[15]
---oo0oo---
22