Programming - PHP

11.

Which of the following can be used to get data sent via get or post method in PHP ?

Answer

Answer :

Option A

Explanation :


$_REQUEST contains values passed by post, get and/or cookies.
12.

Which one of the following function is used to send an e-mail using PHP script ?

Answer

Answer :

Option A
13.

What does PDO stand for ?

Answer

Answer :

Option A
14.

Which one of the following is not a valid class name ?

Answer

Answer :

Option D

Explanation :


The class name can be any valid label, provided it is not a PHP reserved word. A valid class name starts with a letter or underscore, followed by any number of letters, numbers, or underscores.
15.

Function used to remove whitespace from the start of the string :

Answer

Answer :

Option D

Explanation :


rim() function removes whitespace or other predefined characters from the left side of a string.
Jump to page number :