Explore topic-wise MCQs in PHP Questions & Answers Updating and Deleting Entries.

This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your PHP Questions & Answers Updating and Deleting Entries knowledge and support exam preparation. Choose a topic below to get started.

1.

When a user confirms that he wishes to delete an entry, that entry s URL is passed to a function which removes the entry from the __________

A. index.php
B. function.inc.php
C. database
D. admin.php
Answer» D. admin.php
2.

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

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

([ w-]+) will match ___________

A. one word characters
B. one or more word characters
C. one or more word characters and/or hyphens
D. one or more word characters and hyphens
Answer» D. one or more word characters and hyphens
4.

The URLs in the administrative links won t mean anything to admin.php unless you modify _________

A. .htaccess
B. .adminaccess
C. .htmlaccess
D. .urlaccess
Answer» B. .adminaccess