I have been searching for the past few days for a PHP-Nuke Module that can be edited to link to a MySQL Database which is not the DB that PHP-Nuke is installed on.
A little background on what I am trying to do:
I have football stats stored in a MySQL Database that I want to have displayed on a page within PHP-Nuke and have the options of sorting them by certain categories.
Does anyone know of a Module that does something like this?
If not, any suggestions would be greatly appreciated.
Regards,
Eric
spottedhog Captain
Joined: Apr 30, 2004
Posts: 556
Posted:
Tue Feb 19, 2008 5:10 am
I have never seen something like that. For something like that to work, it would need to have a separate mysql_connect etc. and then it could use the existing mysql calls.
SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
answ3r Nuke Cadet
Joined: Feb 19, 2008
Posts: 2
Posted:
Tue Feb 19, 2008 5:16 am
I don't have a problem connecting to the DB that PHPNuke is installed on. I started to mess around with creating a module myself, but I am so far from understanding how to code it.
Any suggestions on "how" it could be done?
I'm stuck between a rock and a hard place here.
spottedhog Captain
Joined: Apr 30, 2004
Posts: 556
Posted:
Tue Feb 19, 2008 5:43 am
Basically, you need to create a MySQL query so you will have the data you are wanting to display. Then you would need to display the query results via "echo" statements.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum