Vidyalelo
PHP · Q27

Databases Handling

Programming · PHP · question 27

Q27

To identify entries marked for deletion, you check whether _GET[‘page’] == ‘delete’ inside __________

A.
index.php
B.
index.ini
C.
admin.php
Answer
D.
.htaccess

Answer: Option C

Solution

Answer: Option C
Solution:
In admin.php, you check whether $_GET[‘page’] == ‘delete’, then pass the entry URL to be deleted to a function.