The main admin page has a form that calls itself.
(List | Add | Remove | Edit)
The form script looks like this:
<form name="admin" action="admin_main.php" method=post>
<p align="left">
<input type="Image" src="/img_src/text_listcontacts.jpg" name="list">
<input type="Image" src="/img_src/text_addcontacts.jpg" name="add">
<input type="Image" src="/img_src/text_searchcontacts.jpg" name="search">
<input type="Image" src="/img_src/text_removecontacts.jpg" name="remove">
</p>
</form>
Here is where I need help:
So far the code looks something like this:
<?php
include ('../lib/header_admin.html');
if($add)
{
echo "<tr><td>";
include ('input_public.php');
}
else
{
include ('../lib/form_admin.html');
}
include ('../lib/footer_admin.html');
?>
I know this seems elementry but I am used to PERL