rendered paste body<?php// gata nu mai poti scrieinclude('config/abox1-close.inc');include('config/sabox2-open.inc');echo "<div align=center Class=style6>Echipe Inscrise pana la:<br>";echo date('d-m-Y');echo "</div><br>"; $exec = @mysql_query("select * from players where status='4'"); $a = array(); $b = array(); while ($row = @mysql_fetch_array($exec)) { $row2 = mysql_fetch_assoc(mysql_query("select * from echipe where id='$row[1]'")); $a[] = $row2; $b[] = $row2['ldate']; } array_multisort($b,$a); foreach ($a as $row) { if ($row[name] =="0") { echo "<div align=left Class=style6>Nu exista echipa."; } else { echo "<div align=left Class=style6> <strong>$row2[nume]</strong>"; } } echo "</div>"; include('config/abox2-end.inc'); include('config/rfooter.inc');?>