![]() |
Update database from external pages?
My whole website is powered by vbulletin using the global.php hack at the top of pages
i can pull from the database using lines such as: vbulletin->db->query_read("SELECT username FROM user WHERE postid = 1"); but how can i update the database? i want to allow users to change the styleid from an external page, thus needing to change the styleid cell in user table. i thought i would just be able to link to forum.php?styleid=2 etc but this only changes the style for that session, after logout and log back in it goes back to the style set in options. |
This should work...
PHP Code:
|
All times are GMT. The time now is 08:02 AM. |
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:
|