$veri_sorgu = mysql_query("SELECT * FROM player WHERE last_play > (CURRENT_TIMESTAMP - INTERVAL $zamaninput $zaman);");
while($veri_cek = mysql_fetch_object($veri_sorgu))
{
$db2="account";
$site_baglantisis = mysql_connect($host, $user, $pwd) or die("Database baglanilamadi");
mysql_select_db($db2,$site_baglantisis) or die ("Site veritabanina baglanilamadi");
$site_baglantisis = mysql_query("SELECT * FROM account WHERE id='".$veri_cek->phone1."'");
while($veri_cek2 = mysql_fetch_object($site_baglantisis))
{
$emailadresleri.="$veri_cek2[account],";
}
}Kolay gelsin hocam
hocam bunu yapıyorum da şöyle bi sorun var
örneğin
account da 20 kayıt varsa
20 defa
$emailadresleri.="$veri_cek2[account],";
$emailadresleri.="$veri_cek2[account],";
$emailadresleri.="$veri_cek2[account],";
$emailadresleri.="$veri_cek2[account],";
$emailadresleri.="$veri_cek2[account],";
$emailadresleri.="$veri_cek2[account],";
$emailadresleri.="$veri_cek2[account],";
$emailadresleri.="$veri_cek2[account],";
diyip döndürüyor