![]() |
Function and query problems =(
I searched and searched. Mayby i searched the wrong thing dont know.
Lets say if i wanna create a new page away from vbulletin like a mainsite. In that page i want to show users online last topics and stuff like that. How do i write a query to the database ? If i make a totaly new page do i have to require the mainfile or something like that. Or will it do with yust a query to the database to get the info ? I know i can get some portals and stuff but i dont want that. And im sure you have posted about this somewhere before to. If so could you point me in the correct direction ? Any help would be nice. |
of course you can jsut run the needed queries if you connect to the DB in your new script.
the easiest way is to require the global.php so u can use the DB_site commandos |
How do i make a require the global script ?
Can i yust add it to the top of the page and then make what kind of page i want ? PHP Code:
|
yes
|
All times are GMT. The time now is 03:48 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:
|