more updates

This commit is contained in:
unknown
2012-09-22 00:13:44 +03:00
parent 9b48213fdd
commit 2f510f3ec8
5 changed files with 23 additions and 7 deletions
+3 -3
View File
@@ -4,10 +4,10 @@
$lid = $_POST['lid'];
$tribe = $_POST['tribe'];
$getFLData = $database->getFLData($lid);
$unitslist = $database->getFLData($lid);
$sql = mysql_query("SELECT * FROM ".TB_PREFIX."raidlist WHERE lid = ".$lid."");
$sql = "SELECT * FROM ".TB_PREFIX."raidlist WHERE lid = ".$lid." order by id asc";
$array = $database->query_return($sql);
foreach($array as $row){
$sql1 = mysql_fetch_array(mysql_query("SELECT * FROM ".TB_PREFIX."units WHERE vref = ".$getFLData['wref']));
while($row = mysql_fetch_array($sql)){
$sid = $row['id'];
$wref = $row['towref'];
$t1 = $row['t1'];$t2 = $row['t2'];$t3 = $row['t3'];$t4 = $row['t4'];$t5 = $row['t5'];