Menu
Hello!!
I am using the sql argument:
$total_results = mysql_result(mysql_query(“SELECT COUNT(*) as Num FROM reply”),0);
but I need the following :
$total_results = mysql_result(mysql_query(“SELECT COUNT(*) as Num FROM reply WHERE MEMBER_ID=’$MEMBER_ID'”),0);
It says is not a valid argument. How can I get a spefic number of results for this?
thanks for any help