1. What is PHP?
2. What is the use of “echo” in php?
3. How to include a file to a php page?
4. What’s the difference between include and require?
5. require_once(), require(), include().What is difference between them?
6. Differences between GET and POST methods ?
7. How to set cookies in PHP?
8. How to declare an array in php?
9. What is use of count() function in php ?
10. What is use of in_array() function in php ?
11. What is the difference between Session and Cookie?
12. How to Retrieve a Cookie Value?
13. What is the use of ‘print’ in php?
14. How to create a session?
15. How to Remove data from session?
16. How to initialize session?
17. Which types of loops exist in php?
18. How to create a mysql connection?
19. How to select a database?
20. What is the function used to execute sql query in PHP?
21. Name any two function used in fetching the data from the result set?
22. What is the use of explode() function ?
23. What is the difference between explode() and split() functions?
24. What is the use of mysql_real_escape_string() function?
25. How to strip whitespace (or other characters) from the beginning and end of a string ?
26. How to find the length of a string?
27. what is the use of rand() in php?
28. what is the use of isset() in php?
29. How to redirect a page in php?
30. How stop the execution of a php script?
31. What is the use of header() function in php ?
32. How do you define a constant?
33. What is mean by an associative array?
34. How to set a page as a home page in a php based site ?
35. What is the importance of “method” attribute in a html form?
36. What is the importance of “action” attribute in a html form?
37. What is the use of “enctype” attribute in a html form?
38. How send email using php?
39. How to find current date and time?
40. What is the use of “ksort” in php?
41. What is the difference between $var and $var?
42. What is the use of the function htmlentities?
43. How to delete a file from the system?
44. How to get the value of current session id?
45. What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
46. Name any two errors in PHP?
47. How can we submit from without a submit button?
48. What is the maximum size of a file that can be uploaded using php and how can we change this?
49. How can we increase the execution time of a php script?
50. How can we destroy the cookie?
0 comments:
Post a Comment