$i=1;
while ( $i < 14 ){
if ($row[position$i] >= 0){
${position$i}=$row[position$i];
${story$i}="news";
}elseif($row2[position$i] >= 0){
${position$i}=$row2[position$i];
${story$i}="pages";
}
echo ${story$i};
$i++;
}
Edited by tingting, 04 June 2010 - 05:16 PM.


Sign In
Create Account

Back to top









