2006-02-02, 01:16 PM
2006-02-02, 03:30 PM
Do you get any error messages?
A few things that come to mind when I look at your code...
- Including MyBB's global.php should automatically open a database connection, so why do you have your own mysql_connect() call? MyBB's $db->query() function will not use that connection.
- What's the purpose of the call to postify()?
A few things that come to mind when I look at your code...
<?php
require_once ("global.php");
require_once ("./forum/inc/functions_post.php");
?>
- If inc/functions_post.php is in the "forum" directory, isn't global.php there as well?- Including MyBB's global.php should automatically open a database connection, so why do you have your own mysql_connect() call? MyBB's $db->query() function will not use that connection.
- What's the purpose of the call to postify()?
2006-02-02, 03:51 PM
I asked how to show off the latest forum topics on my site they gave me this code. But that is not te problem m8.
2006-02-02, 04:20 PM