Programming - PHP
You Are Here :: Home > Programming > PHP- General Questions
97. |
What will be the output of the following code?
Echo strpos(“Hello World”,’World”);?
|
A. |
6 |
B.
|
7 |
C.
|
5
|
D.
|
None of these
|
|
Answer: Option B
Explanation:
|
98. |
SSI stands for _____.?
|
A. |
Script Side Includes |
B.
|
Server Script Includes |
C.
|
Server Side Includes
|
D.
|
None of these
|
|
Answer: Option C
Explanation:
|
99. |
. ____ is a key is used to uniquely identify the rows in the tables.?
|
A. |
Foreign |
B.
|
Primary |
C.
|
Auto Increment
|
D.
|
None of these
|
|
Answer: Option B
Explanation:
|
100. |
The ____ function is used to set a cookie.?
|
A. |
getcookie() |
B.
|
fetchcookie() |
C.
|
setcookie()
|
D.
|
setcokie()
|
|
Answer: Option C
Explanation:
|
101. |
A PHP _____ variable is used to store the information about, or change settings for a user
session.?
|
A. |
Session |
B.
|
Cookie |
C.
|
Section
|
D.
|
None of these
|
|
Answer: Option A
Explanation:
|
102. |
Which is the correct syntax of DATE()??
|
A. |
date(format) |
B.
|
date(timestamp) |
C.
|
date(format,timestamp)
|
D.
|
None of these
|
|
Answer: Option C
Explanation:
|
« prev
next »