printf("
<table>
<tr>
<td><a href='page.php?id=%s'><img alt='аватар' src='%s'></a></td>
<td>Автор: <a href='magazinpage.php?id=%s'>%s</a><br>
Описание:<br>
%s<br>
Цена:%s<br>
<a href='corzine.php?id=%s'>Заказать</a>
</td>
</tr>
</table><br>
",$myrow4['id'],$avatar,$message['id'],$message['name'],$messages['opis'],$messages['price'],$messages['id']);
echo $myrow4['id'];
echo "<a href='page.php?id=".$avatar."'><img alt='аватар' src=".$avatar."></a>";
echo $message['id'];
echo $message['name'];
echo $messages['opis'];
echo $messages['price'];
echo $messages['id'];
echo " ";
$number=$number+1;
if($number == 3){
$number=0;
echo "<br>";
}
<style>
.itemBlock {
display:inline-block;
width: 100px;
height: 100px;
}
</style>
<div class="itemBlock">
<div>Name: <?=$item['name'];?></div>
<div>Description: <?=$item['opis'];?></div>
</div>
<div class="itemBlock">
<div>Name: <?=$item['name'];?></div>
<div>Description: <?=$item['opis'];?></div>
</div>