Vidyalelo
PHP · Q26

Databases Handling

Programming · PHP · question 26

Q26

You need to check whether ______ is set, to determine whether you’re editing an entry or creating a new one.

A.
$_GET[‘url’].
Answer
B.
$_SET[‘url’].
C.
$_GET[‘admin’].
D.
$_SET[‘admin’].

Answer: Option A

Solution

Answer: Option A
Solution:
If an entry is being edited, you need to load the existing entry data and save each piece in a variable.