I understand that element what I struggle with is once I have the $result is how to get this into the vb system to show within the head template.
PHP Code:
$million = $vbulletin->db->query_read("SELECT username FROM " . TABLE_PREFIX . "post WHERE postid = '5'");
--------------- Added [DATE]1335807558[/DATE] at [TIME]1335807558[/TIME] ---------------
I'm using no 5 in the above to see if it shows the right result.