PHP

PHP

Updating and Deleting Entries has 9 Questions
It will be useful for anyone learning PHP Basics and Fundamentals. 1. When you are building administrative links you'll need to accept two arguments, which of the following are they?

URL of previous entry and URL of the entry you are working with
The current page and previous page
URL of previous entry and previous page
The current page and URL of the entry you are working with
Once your application can generate administrative links, you need to load those links into ___.

php.ini
index.ini
index.php
start.php
The URLs in the administrative links won't mean anything to admin.php unless you modify ___.

.htaccess
.adminaccess
.htmlaccess
.urlaccess
The (|/) tells the server to match ___.

nothing
forward slash
backward slash
either nothing or a forward slash
([\w-]+) will match ___.

one word characters
one or more word characters
one or more word characters and/or hypens
one or more word characters and hypens
You need to check whether ___ is set, to determine whether you're editing an entry or creating a new one.

$_GET['url']
$_SET['url']
$_GET['admin']
$_SET['admin']
To identify entries marked for deletion, you check whether $_GET['page'] == 'delete' inside ___.

index.php
index.ini
admin.php
.htaccess
Your confirmation form submits your choice, via the ____ method, to ____.

GET index.php
GET admin.php
POST index.php
POST admin.php
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 ___.

index.php
function.inc.php
database
admin.php