Vidyalelo
PHP · Q21

Databases Handling

Programming · PHP · question 21

Q21

When you are building administrative links you’ll need to accept two arguments, which of the following are they?

A.
URL of previous entry and URL of the entry you are working with
B.
The current page and previous page
C.
URL of previous entry and previous page
D.
The current page and URL of the entry you are working with
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
Your function should look like this: function adminLinks(url) { //Build admin links here }