continue after break
| From: | Reymond | Date: | Thu, 23 Jan 2003 03:44:35 +0000 |
| Subject: | continue after break | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132730@lists.php.net to get a copy of this message | ||
Hi everyone,
I made a while loop and i'd like to know how to continue looping after I
break it, and . Here is my script :
I found just break looping on my page, can't continue :(
<?
while ($row = mysql_fetch_array($myquery)){
?>
<tr>
<td class="subtitle" width="50%">
<?=$row['field1']?>
</td>
<?break;?>
<td rowspan="2" valign="top" align="right">
<table border="0" cellpadding="0"
cellspacing="0">
<tr>
<TD><image src="blabla.jpg"></td>
</tr>
</table>
</td>
</tr>
<?continue;?>
<tr>
<td class="body" width="50%">
<p align="justify"><?=$row['field2']?></p>
</td>
</tr>
<?
}
?>