You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 65 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Module to display Stats which are stored in a DB [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
answ3r
Nuke Cadet
Nuke Cadet


Joined: Feb 19, 2008
Posts: 2


PostPosted: Tue Feb 19, 2008 4:27 am Reply with quoteBack to top

Hello.

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
Find all posts by answ3rView user's profileSend private messageAIM Address
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 562


PostPosted: Tue Feb 19, 2008 5:10 am Reply with quoteBack to top

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.

It could be done...

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
answ3r
Nuke Cadet
Nuke Cadet


Joined: Feb 19, 2008
Posts: 2


PostPosted: Tue Feb 19, 2008 5:16 am Reply with quoteBack to top

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. Smile
Find all posts by answ3rView user's profileSend private messageAIM Address
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 562


PostPosted: Tue Feb 19, 2008 5:43 am Reply with quoteBack to top

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.

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.371 Seconds - 360 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::