Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Del article.php + news_cats.php

Parašė PyccKuu· 2008 Rugp. 24 01:08:17
#2

<?php
echo "<table border='0' align='left' cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
$result = dbquery("SELECT count(article_id) AND article_cat=x FROM ".$db_prefix."article");
echo "<tr><td width='90%'><img src='".THEME."images/bullet.gif'> <font class='side'><b>Straipsnių:</b></td> <td>".dbresult($result, 0)."</td></tr>\n";
echo"</td>\n</tr>\n</table>\n";

?>




Tikriausiai taip bet gal

ne
SELECT count(article_id) AND article_cat=x FROM ".$db_prefix."article")



o
SELECT count(articles_id) AND articles_cat=x FROM ".$db_prefix."articles")



Redagavo PyccKuu· 2008 Rugp. 24 01:08:39