Quote:
Originally Posted by Milchi
This is the code from the ORIGINAL ZIP File, look (just downloaded it again this seconds)
PHP Code:
$to=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$to}'"); // Grab Member Its Going TO
$from=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$from}'"); // Grab Member Its Coming FROM
|
This code is correct, yours isn't (it's generating a mySQL result resource, while the needed data in $to and $from are arrays with the values

).