$RecordCount=mysql_num_rows($pnname);
for($el=1; $el<=$RecordCount;$el++) {
$message .= "test--test";
echo $el."--".$row_pnname01['pnom']."<BR>";
echo $message."<BR>";
}
Here the $message is displayed $i count times, ie., if $i =5 $message is displayed 5 times but $row_pnname01['pnom'] is displayed only once each $i count.
Any idea on why it is happening. Sure something that I must have overlooked.
Thanks
Jean
Instead of this
Do this