/var/www/(Del)explorer-island.com/old/webadmin/careerstatus.php


1
2
3
4
5
6
7
8
9
10
11
12
<?php require("configure.php"); ?>
<?
$careerid 
$_GET["careerid"];

$sql "update career set status=case when status = 1 then 0 else 1 end ";
$sql .= " where careerid="$careerid ." ";

mysql_query($sql);
mysql_close($dbh);

header("Location: careerindex.php?msg=Update Successful");
?>