![]() |
Tutorial for database access???
I am working on a map of my membership and events by county. I have added the needed custom fields to the calendar and the user profiles. Now all I need to do is populate the HTML from queries made to the vBulletin database.
Is there a tutorial somewhere on what is needed to query the database from PHP? Fieldnames, format, etc.? I need to access calendars (title, thread number, customfields) and membership list (username, user number, customfields). Thanks! |
Have a look at this. Querying in vBulletin is different from querying in PHP - vBulletin wraps all queries within a database object so that it's possible in the future to allow multiple database types (though there are still reasons why they haven't implemented it now, mainly MySQL-only functions they've used I think).
The basic query for SELECT statements is: PHP Code:
|
Thanks for the help! :)
|
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|