当我运行代码时,它会从表中选择所有数据,当它满足while条件的要求时它会停止并且不会继续执行if条件,
do{
$random = SELECT row FROM table WHERE row >= 1;
while($ran = MySQL_fetch_array($random)){
$rand = $ran['row'];
}
}while($rand == 5);
//how can I call this function to work,
if(){
`enter code here`// conditions
}