Callback Custom Profile Fields

mysqli_stmt::bind_param(): Number of variables doesn't match number of parameters in prepared statement
 
Alright that worked :D
I'm grabbing the stuff using this: but it's returning empty for all of these. Is there a specific way I need to grab em, since my previous attempt didn't work
PHP:
 $username = (isset($data['field_value']) ? $data['field_value'] : null);
        $userid = (isset($data['user_id']) ? $data['user_id'] : null);
        $storedtime = (isset($gettime['last_donation_date']) ? $gettime['last_donation_date'] : null);

If I do what is listed here:
http://xenforo.com/community/threads/mysql-queries-how-to-use-db-in-xenforo-small-notes.5444/


PHP:
        foreach($data AS $rowName => $results)
        {
            print $rowName . " => <pre>";
            print_r($results);
            print "</pre><br />";
        }
I get my desired output, so how come I can't do what I'm trying to do?

EDIT

FRIGGIN 2D ARRAY!!!!
$username = (isset($data[0]['field_value']) ? $data[0]['field_value'] : null);
I think I got it :3
 
Top Bottom