$RecordCount=mysql_num_rows($pnname);
for($el=1; $el<=$RecordCount;$el++) {
$message .= "test--test";
echo $el."--".$row_pnname01['pnom']."<BR>";
echo $message."<BR>";
}
The number of samples is $messagedisplayed here $i, i.e. if $i= 5 is $messagedisplayed 5 times, but is $row_pnname01['pnom']displayed only once for each $iaccount.
Any idea on why this is happening. Of course, something that I must have forgotten.
Thanks jean
source
share