
Member
|
i download the pm script from this site but the when i try to send a new pm to a user i get this error message Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\pm\new_pm.php on line 44
recipient does not exists.
please help me out the code on line 44 is $dn1 = mysql_fetch_array(mysql_query('select count(id) as recip, id as recip, (select count(*) from pm) as npm from users where username="'.$recip.'"'));
if($dn1['recip']==1)
|