Показать сообщение отдельно

  #3  
Старый 28.08.2009, 23:32
gisTy
Постоянный
Регистрация: 24.05.2008
Сообщений: 589
Провел на форуме:
3629857

Репутация: 504


По умолчанию

просто ты забыл закрыть фигурную скобку
Код:
<?php
		 if (mysql_num_rows($result) > 0)

{            <-------1 открыл
$myrow = mysql_fetch_array($result);

do
{ <-------2 открыл

printf ("    <table align='center' class='post'>
             <tr>
             <td>
			 <p class = 'nav_link'><a href='view_post.php?id=%s'>%s</a>
			 <p class = 'post_adds'>Дата Добавления: %s</p>
			 <p class = 'post_adds'>Добавил: %s</p>
			 </td>
             </tr>
			 <tr>
			 <p><td>%s
			 <p class = 'post_view'>Просмотров: %s</p>
			 <p class = 'post_view'>Загрузок: %s</p>
			 </tr>
             </table>", $myrow['id'], $myrow['title'], $myrow['date'], $myrow['author'], $myrow['description'], $myrow['view'], $myrow['download']);


} <-------2 закрыл

while ($myrow = mysql_fetch_array($result));?>
   
        
        </td>
      </tr>
    </table></td>
  </tr>
<?php include ("blocks/footer.php");?>
</table>
</body>
</head>
</html>
а один не закрыл
 
Ответить с цитированием