Jump to content

How to check if a foreach has been run once.


brad12345

Recommended Posts

just want to know that

 

How to check if a foreach has been run once.

 

    while ($row = mysql_fetch_row($resultPatient))
		{

			echo("<tr>");		
			foreach($row as $value => $key)
				echo("<td width=100>$value</td>");  
				echo("</tr>");
		}
		echo("</table>");

 

thank you for any help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.