![]() |
mass updating mysql
What would be the easiest way to update a table column where all values are not the same
I have all avatars as "images/avatar/avname.jpg" and I simply want to change the path to "/forums/images/avatar/avname.jpg" or let me rephrase it. How would I go about adding a prefix to all values in that column like: /forums/ |
vB?
PHP Code:
I don't think this is a good idea though. Don't you think that this might causes problems in the forum? |
thank you. What problems are you anticipating?
|
Well the forum software (being installed in /forum/) would pull the images from /images/avatar/. Now that you change the path, it would attempt to get the images from /forum/forum/images/avatar/. And that would probably fail.
EDIT: Nevermind. If you put the slash at the beginning of the path it should work. |
All times are GMT. The time now is 10:26 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:
|