// make a little array with the data $values = array( 'numbermembers' => $members['users'], 'newusername' => $newuser['username'], 'newuserid' => $newuser['userid'], 'averageregistrations' => $avgregs['regcount'] );