https://www.icyphoenix.com/viewtopic.php?f=35&t=8693&p=56811#p56811
-----------------------------------
juggalo_master
Fri 14 Sep, 2012 02:35

Re: How Could I Go About Showing A List Of Recent Posts
-----------------------------------
alright but how would i go about showing that in my footer of my main site? i figured that works but what i am looking for is how to add the code to my php file that i already have set up for the tpl file. 

what i am wanting is like a list that will show in my footer under recent posts. 

if you look at my site you will see what i am looking for. http://www.animenewsinc.net/ look at footer at the recent post section.

[code]
Icy Phoenix Debug] PHP Notice: in file /top.php on line 14: mysql_connect() [function.mysql-connect]: Access denied for user 'devildo2'@'localhost' (using password: NO)
Unable to select server.
[/code]

when i try to include the file and echo out the results i get this error. i don't know how to fix it either i tried putting in the info for the mysql myself but then i get table doesn't exist.

[code]
SQL Statement Error: Table 'devildo2_phpb362.topics' doesn't exist[/code]

when i enter the details alone.


