The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Table Updating
<a href="http://www.phpeasystep.com/mysql/10.html" target="_blank">http://www.phpeasystep.com/mysql/10.html</a> Basically I've copied the code from there and edited it accordingly. It does the ingo just fine, but doesn't update it. When tested alone on a different database without any vB stuff and things in it, it worked fine.
As much as I hate to say this but, I don't know a thing of PHP. Heh. But I want a table updated in MySQL. Does anyone think they can help me out? |
#2
|
||||
|
||||
What are you actually trying to do ?
|
#3
|
|||
|
|||
I'm trying to find a way to update the database. I want to update multiple rows in the database with the code displayed in that HTML page. For some reason its not working with vB, but it does work when I put it in a separate database.
Is there something I should know about the vB database that just don't update? Some additional things to add or something? |
#4
|
|||
|
|||
I think Paul M was referring to what you plan to achieve by updating the database. Like what are you trying to change...from what to what? Based on what criteria and for what reason? There maybe better solutions available to you.
Installing vB on a database won't affect any queries you run on it. Post the actual query you are running to. |
#5
|
|||
|
|||
I'm just trying to update the value of a custom field in the usergroup table.
The issue that I am having is rather that if I include host, password and etc info directly as given in the example file it was basically copied from (except variable changes), then it works. But from what I have understood then if you include the global file then you should get the connection to the database as that includes the init file. And it does get the information that way, but just doesn't update. The page is of course on the same server, so it shouldn't be a whitelist issue either. Or maybe I am just completely stupid? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|