mortydot
06-22-2009, 07:42 PM
Hello every one,
To begin, I have build a mod that retrieves some variables from the database. Because i'm new to the VBulletin mod coding, i have first build it on my own way (opening mysql connection, closing it, etc.)
But I believe there is another way to do this what is shorter, faster and creates a lower load.
Is there a connection already setup? How do I do this the official VBMod way? (is there one?)
I need an example for just getting one singe field from a table. Or better, a tutorial/article about this.
Looking forward for any replays! (the sooner I can make my mod official :)
To begin, I have build a mod that retrieves some variables from the database. Because i'm new to the VBulletin mod coding, i have first build it on my own way (opening mysql connection, closing it, etc.)
But I believe there is another way to do this what is shorter, faster and creates a lower load.
Is there a connection already setup? How do I do this the official VBMod way? (is there one?)
I need an example for just getting one singe field from a table. Or better, a tutorial/article about this.
Looking forward for any replays! (the sooner I can make my mod official :)