(file) Return to dynamic-display-order-exe.php CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / photo / sspadmin

 1 rizwank 1.1 <?php
 2             require "./inc/head.php";
 3             
 4             $q = $_GET['q'];
 5             
 6             $q = explode("|", $q);
 7             
 8             for ($i=0; $i < count($q); $i++)
 9             {
10             	if ($q[$i] != '')
11             	{
12             	$s = explode(",", $q[$i]);
13             	$o = $s[0];
14             	$id = $s[1];
15             	mysql_query("UPDATE $dltbl SET display=$o WHERE aid = $id and did=$did") or die(mysql_error());
16             	}
17             }
18             			
19             header("Location: edit-dynamic-single.php?m=1&did=$did");
20             
21             ?>

Rizwan Kassim
Powered by
ViewCVS 0.9.2