I'm really new at PHP, I just bought a book to help me modify my boards a little bit. To practice, I tried calling user ID #1 from the database and posting it on the forum home.
I know this may look way off but here's what I did.
PHP Code:
// Locate Forum Administrator
$findadmin = mysql_query ($adminquery);
$adminquery = "SELECT username FROM user WHERE userid = '1'";
$whosadmin = "The administrator of this forum is $findadmin";
I added this into index.php and added the variable $whosadmin to the forumhome template.
It's appearing on my board as "The administrator of this forum is" - and stops at the good part >.<
What did I miss or where did I mess up?