php

Interview Questions and Answers

PHP

Question:
How stop the execution of a php scrip ?
Answer:

exit() function is used to stop the execution of a page

--- >>>

PHP - Questions
1. What is the difference between characters 23 and x23?
Answer
2. do i store binary in my sql?
Answer
3. How do i limit the no of rows 1 get out of my database ?
Answer
4. What is the purpose of ob_start() ?
Answer
5. what is difference between $message and $$message
Answer
6. what is difference between mysql_fetch_array(),mysql_fetch_row() and mysql_fetch_object()
Answer
7. List out the predefined classes in PHP?
Answer
8. What is htaccess? Why do we use this and Where?
Answer
9. In how many ways we can retrieve data in the result set of MYSQL using PHP?
Answer
10. What are encryption functions in PHP?
Answer
11. How many open modes available when a file open in PHP?
Answer
12. Which function would you use to insert a record into a database?
Answer
13. Which function would you use to merge two arrays?
Answer
14. What is the difference between $var and $$var?
Answer
15. How to redirect a page in php?
Answer
16. What is the use of header() function in php ?
Answer
17. Write down the code for save an uploaded file in php.
Answer
18. What is the use of mysql_real_escape_string() function?
Answer
19. What is the use of explode() function ?
Answer
20. Write a program using while loop
Answer
21. How to execute an sql query? How to fetch its result ?
Answer
22. How to create a mysql connection?
Answer
23. How to create a session? How to set a value in session ? How to Remove data from a session?
Answer
24. How to Retrieve a Cookie Value?
Answer
25. What is the use of "echo" in php?
Answer
26. What is Full form of PHP ? Who is the father or inventor of PHP ?
Answer
27. How do you connet mysql database with PHP ?
Answer
28. What's the difference between include and require?
Answer
29. What is PHP?
Answer
30. What are the differences between PHP3 and PHP4 and PHP5 ? what is the current stable version of PHP ? what advance thing in php6
Answer
31. Is variable name casesensitive ? could we start a variale with number like $4name ? What is the difference between $name and $$name?
Answer
32. How can we create a database using PHP and MySQL?
Answer
33. What is htaccess? Why do we use this and Where?
Answer
34. How can we encrypt the username and password using PHP?
Answer
35. What are the different types of errors in PHP?
Answer
36. What is the difference between a static and Dynamic Web site?
Answer
37. What is a Session?
Answer
38. How many ways we can pass the variable through the navigation between the pages?
Answer
39. What are the different functions in sorting an array?
Answer
40. How can we create a database using php?
Answer
41. Explain include(), include_once, require() and require_once.
Answer
42. What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
Answer
43. command to fetch onlythe unique values?
Answer
44. can a script come to a clear termination?
Answer
45. How do i find out weather a no is odd or even ?
Answer
46. Can I coonect to Ms-access database w/o a DSN?
Answer
47. How can we remove duplicate values from an array ?
Answer
48. can we get the ID genrated from the previous insert operation ?
Answer
49. How do you upload videos using PHP & MySQL
Answer
50. why we need a function like fetch_object and what is the purpose of using it?Procedural programmers do use functional and OOPs programmers use class and objects.
Answer
General Knowledge Quiz
3001 Bizarre Facts
Dictionary
Elementary English Grammar Test
Standard English Grammar Test
Advanced English Grammar Test
Daily English Quiz
English Test
Grammar Examination
ESL / EFL Test
Grammar Test
Antonyms
Synonyms
Homonyms
Vocabulary Examination
Word Analogy
Vocabulary Flashcards
Idioms
Idioms Quiz
Quantitative Aptitude Test
iQ Quiz Game
Verbal Reasoning Quiz - Mind Game
English Question Answer
Vocabulary Game 1
Vocabulary Game 2
Scramble Word Game
Common Mistakes
Confusing Words
Basic English Usage
English Grammar
Prepositions
English Phrases
Learn English
Word Game
Interview Questions and Answers
Educational Quiz Games