hi peeps!!
i hav a set of variables taken from a form:
$id0=blah0
$id1=blah1
$id2=blah2
$id3=blah3
$id4=blah4
i want to make a loop in a way that it will display the value of the all the id's except the value of the the id which corresponds to the loop number.
eg
loop 0 :
blah1blah2blah3blah4
loop 1 :
blah0blah2blah3blah4
loop 2 :
blah0blah1blah3blah4
and so on.. or actually to turn the unincluded variable to a zero.. hmm..
$id$i=0; ?????
some of my sample code?
echo '<td width=100> </td>';
$i=0;
while($i < $num)
{
echo '<td width=125>';
//$id[$i] = 0;
echo $id[$i];
echo $i.'<font face="Verdana, Arial, Helvetica, sans-serif" size="2">'." $id0 $id1 $id2 $id3 $id4 <br>" ;
echo '</td>';
$i++;
}
echo '</tr>';
thanks in advance peeps.. more power!!!
😃