From what I can see, you need to encode your URL's a little better. You are on the right path. Almost.
You have 3 variables per link.
1) The command. Add or Delete
2) The target. Name, Producer, Shooter and location
3) The id of the current day.
You need to code a simple function to generate an anchor given those three variables. The anchor effectively triggers an "action". Or, as some people call it, an "event"
<?php
function Link($command, $target, $id)
{
return "<a href='?action=$command,$target,$id'>[$command]</a> ";
}
for ($i = 1; $i < 10; $i++)
{
echo
Link("Add", "Name", $i) . Link("Del", "Name", $i) .
Link("Add", "Producer", $i) . Link("Del", "Producer", $i) .
Link("Add", "Shooter", $i) . Link("Del", "Shooter", $i) .
Link("Add", "Location", $i) . Link("Del", "Location", $i) .
"<br>";
}
$action = explode(",", $_GET["action"]);
echo "<br>";
echo "Command: " . $action[0] . "<br>";
echo "Target: " . $action[1] . "<br>";
echo "Id: " . $action[2] . "<br>";
?>
Then a click on any one of those variables will provide enough information to determine the "action" that should be taken.
A "switch" can be used to apply the given command to the given target with the given id.
Hope that helps.