tolgay007 adlı üyeden alıntı: mesajı görüntüle
Arkadaşalar hep karşılaştığım bir sorun mesla db deki tüm üyeleri sıralamasını istiyorum liste halinde kullanıdğım kod şu
<?php
$bilgiler=$_COOKIE['kadi'];
if ($bilgiler=="")
{
echo "Giris Yapmadiginiz Sistem Tarafindan Tespit Edildi ";
exit;
}
require("/var/www/vhosts/chatlok.com/httpdocs/oyun/inc/sql.php");
$sorgu=mysql_query("select * from oyun_uye");
$sayi=mysql_num_rows($sorgu);
?>
<link href="style.css" rel="stylesheet" type="text/css" /><style type="text/css">
<!--
.style2 {font-family: Arial, Helvetica, sans-serif}
.style3 {font-family: tahoma, helvetica, sans-serif}
-->
</style><table width="110%" height="737" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top"><table width="100%" height="103" border="0" cellpadding="0" cellspacing="0" background="../images/advbgust.gif">
      <tr>
        <td valign="top"><center><img src="../images/logo.png" width="303" height="122" /></center></td>
      </tr>
    </table>
      <p class="arama_label">&nbsp;</p>
    <p><strong><span class="style2">&Uuml;ye Se&ccedil;in G&Ouml;STERİLİYOR...</span></strong></p>
    <p><strong></strong></p>
    <table width="32%" height="202" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <th scope="col">
		<?php
		while($data=mysql_fetch_array($sorgu))
		{
		?>
		<form id="form1" name="form1" method="post" action="uyesil.php?id=<?php echo $data[id]; ?>">
          <p>
            <label>
            <select name="uye">
            <option value=<?php echo $data[kadi]; ?>><?php echo $data[kadi]; }?></option> 
 </select>
            </label>
          </p>
          <p>
            <label>
            <input name="button" type="submit" class="mybuttonstyle" id="button" value="Sil" />
            </label>
          </p>
          <p>Kayıtlı &Uuml;ye Sayısı:<?php echo $sayi; ?></p>
        </form>        </th>
      </tr>
    </table></td>
  </tr>
</table>
böyle kullanırsam sonuç malesef böyle
http://www.chatlok.com/oyun/panel/adv/inc.php?islem=6
ama while döngüsünü <option> üstüne koydummu oluyor ama bu seferde id yi yollamıyor gene işim hallolmuyor yani benim istediğim liste halinde göstercek id yide yollayacak nasıl yapıcam

javascript kullanarak yapabilirsin.
while i listenin içine al gizli bir alana id de
sonra option a javascript kodu ile şunu yaptir
<select name="uye" onchange="document.form1.action=action='uyesil.php ?id='+this.value">;">

gibi