
Web sitemizin yeni sistemini yayın hayatına koyduk.
Hepimize hayırlı olsun
CMS V.3
Detaylar İçin Buraya Tıklayın
php döngü sorunu
set_time_limit(2000);
$sayi = 1;
while ( $sayi <= 200)
{$sayi++;
}
$server="localhost";
$mysql_user = "root";
$mysql_password="";
$database="oyundb";
$link=mysql_connect($server,$mysql_user,$mysql_password);
$db_selected=mysql_select_db($database,$link);
$sqllist="select * from oyunlar where id=$sayi";
$execute=mysql_query($sqllist);
while ($list =@ mysql_fetch_array($execute))
{
$resimim=str_replace("resimler/","",$list[resim]);
if(!@copy("$resimim", "resimler/$resimim"))
die("$resimim - kayit edilmedi");
else
echo "$resimim - kayit edildi ";
}

php döngü sorunu
$server="localhost";
$mysql_user = "root";
$mysql_password="";
$database="oyundb";
$link=mysql_connect($server,$mysql_user,$mysql_password);
$db_selected=mysql_select_db($database,$link);
for($x=1; $x<200; $x++){
$yaz = mysql_fetch_array(mysql_query("select * from oyunlar where id='$x'"));
$resim = $yaz["resim"];
$resimim=str_replace("resimler/","",$resim);
if(!@copy("$resimim", "resimler/$resimim"))
die("$resimim - kayit edilmedi");
else
echo "$resimim - kayit edildi ";
}

php döngü sorunu

php döngü sorunu
$server="localhost";
$mysql_user = "root";
$mysql_password="";
$database="oyundb";
$link=mysql_connect($server,$mysql_user,$mysql_password);
$db_selected=mysql_select_db($database,$link);
for($x=1; $x<200; $x++){
$yaz = mysql_fetch_array(mysql_query("select * from oyunlar where id='$x'"));
$resim = $yaz["resim"];
if(!empty($resim)){
$resimim=str_replace("resimler/","",$resim);
if(!@copy("$resimim", "resimler/$resimim"))
die("$resimim - kayit edilmedi");
else
echo "$resimim - kayit edildi ";
}
}

php döngü sorunu
for($x=1; $x<2000; $x++){

php döngü sorunu
$server="localhost";
$mysql_user = "root";
$mysql_password="";
$database="oyundb";
$link=mysql_connect($server,$mysql_user,$mysql_password);
$db_selected=mysql_select_db($database,$link);
for($x=1; $x<200; $x++){
$yaz = mysql_fetch_array(mysql_query("select * from oyunlar where id='$x'"));
$resim = $yaz["resim"];
if(!empty($resim)){
$adet++;
$resimim=str_replace("resimler/","",$resim);
@copy("$resimim", "resimler/$resimim");
}
}
echo "Toplam $adet; Resim Aktarıldı";

php döngü sorunu

php döngü sorunu

php döngü sorunu
if($sorulansoru=="die")
die("Hakikat");
