Quote:
Originally posted by Dark_Wizard
Change this:
PHP Code:
if ($action=="remove") {
echo "<p>Are you sure you want to delete the Server?</p>\n";
echo "<p><a href='serverstatusadmin.php?serverid=$serverid&action=kill'>Yes</a></p>";
}
to this:
PHP Code:
if ($action=="remove") {
doformheader("serverstatusadmin","kill");
makehiddencode("serverid",$serverid);
maketableheader("Confirm deletion");
makedescription("Are you sure you want to delete this server?");
doformfooter("Yes","",2,"No");
not tested but should work...
|
it gave this error when tested
Code:
Parse error: parse error in /admin/serverstatusadmin.php on line 100
I tried adding a "}" after the changed code - this gets rid of the phase error but still doesnt diplay the delete message or remove the server fromt he listing.
BTW thanx for the very quick response