Create Account
Sign In

create new pm is not working please help

To create and answer topics, you must to be logged.
Pages: 1
Author Message
agenatty
29/08/2013 at 15:47:39
agenatty
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)


Pages: 1