PHP MCQ Questions and Answers
Practice ModeShowing 10 of 130 questions
Q41
mysql_connect( ) does not take following parameter
Answer: Option D
Q42
Study following steps and determine the correct order
(1) Open a connection to MySql server
(2) Execute the SQL query
(3) Fetch the data from query
(4) Select database
(5) Close Connection
Answer: Option A
Q43
Which of the following is not a session function?
Answer: Option D
Q44
When uploading a file if the UPLOAD_ERR-OK contains value 0 it means
Answer: Option B
Q45
Which of the following delimiter syntax is PHP's default delimiter syntax
Answer: Option A
Q46
Which of the following statement produce different output
Answer: Option C
Q47
Which of the following delimiter is ASP style?
Answer: Option B
Q48
Php supports all four different ways of delimiting. In this context identify the false statement
Answer: Option C
Q49
Which of following commenting is supported by Php
Answer: Option C
Q50
To produce the output6 I love the summer time, Which of the ofllowing statement should be used?
Answer: Option D