You are here: Re: boy was i wrong « PHP Language « IT news, forums, messages
Re: boy was i wrong

Posted by up2trouble on 07/22/07 23:08

Its an integer set at 1 space. I changed code to:

function adminApprovalNeededDir ($connect, $db_table8)
{
$sql = "SELECT COUNT(*) FROM $db_table8 WHERE approved = 0 ";
$result = mysql_query ($sql, $connect) or die ('Query failed:
' .mysql_error());
$approved = mysql_num_rows($result);
echo "<STRONG>Directory</STRONG> - You have $approved entries waiting
for approval.";
}

I'm still getting same result.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация