1 rizwank 1.1 <?php
2 require "./inc/head.php";
3
4 $aid = $_GET['aid'];
5 $op = $_GET['opt'];
6 mysql_query("UPDATE $atbl SET active = $op, startHere = 0 WHERE id = $aid");
7
8 if ($op == 1)
9 $m = 2;
10 else
11 $m = 3;
12
13 header("Location: edit-main.php?aid=$aid&m=$m");
14 ?>
15
|