$vbulletin->db->num_rows($resourceid);
|
Oh yeah!
More of the puzzel becomes clear. Thanks Alan :D |
great article, this is certainly very useful for anyone trying to customize Vbulletin or making an entire mod, thanks!
|
Nice article!
I wrote a function which uses the $vbulletin->db object. But I always get Quote:
I also included the global.php using require_once('./global.php'); But why I can't use the object inside a function? |
Edit: Sorry, thought this was the datamanager class...
Where are you using this? And what is the code you are using? |
I'm working on a custom page.
I followed this tutorial and everything is working fine. I can also use the $vbulletin->db object on the custom page. But if I try to use it inside a function, it just throws Fatal error: Call to a member function on a non-object in.... This is the code: PHP Code:
|
put the statement:
PHP Code:
PHP Code:
|
Quote:
|
What is the method to use if you'd like to execute a DELETE SQL statement?
|
Thank You!
Great stuff... |
All times are GMT. The time now is 12:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|