问题描述
这个PHP代码有什么问题? 。
(它工作正常 - 但是对于这个有用的东西还不够好
新闻组就是这样)
<?php
$ loopy = 1; $ KON = QUOT;回购英寸; $ spock = 0;
while($ kon ==" repo")
{
$ khan =(rand ()%$契诃夫); $ khan = $ khan + 1;
if($ kirk [$ khan] ==""){$ spock = $ spock + 1; $ kirk [$ spock] = $ khan;}
if($ spock> 55){break;}
if($ loopy> 222){$ kon =" ; break" ;;}
$ loopy = $ loopy + 1;
}
sort($ kirk); $ kirk = array_keys(array_flip($ kirk));
$ loopy = 0;
while($ loopy< 5)
{
$ bones = $ kirk [$ loopy];
if($ bones<>""){include(''display_entry.php' ');}
$ loopy = $ loopy + 1;
}
?>
What is wrong with this php code ? .
(it works fine - but something that just works isnt good enough for this
newsgroup is it)
<?php
$loopy=1; $kon="repo"; $spock=0;
while ($kon=="repo")
{
$khan=(rand()%$chekov); $khan=$khan+1;
if ($kirk[$khan]=="") {$spock=$spock+1; $kirk[$spock]=$khan;}
if ($spock>55) {break;}
if ($loopy>222) {$kon="break";}
$loopy=$loopy+1;
}
sort($kirk); $kirk=array_keys(array_flip($kirk));
$loopy=0;
while ($loopy<5)
{
$bones=$kirk[$loopy];
if ($bones<>"") {include(''display_entry.php'');}
$loopy=$loopy+1;
}
?>
推荐答案
这篇关于挑选5个随机的托管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!