![]() |
Updateing A Table
Okay i have a table in my database that has a few rows. There called:
Userid Threadid date You can obvioulsly tell what there for. Anyway, I added a new row called 'threadtitle' but the values are all blank. Is there anyway that i can run a update query to add all the threadtitles to the proper threadid. All the thread ids have the correct threadid, but now i want to be able to use the thread title. Basicly, i just want to update the row threadtitle with the correct thread titles based on the threadid row. TIA! |
Disclaimer, I have no idea what I am doing. That said:
Something like this I imagine, but I wonder if you could use an * instead of a value (if I understood correctly) PHP Code:
|
as far as I know you can't do it in a single query, you'll need a quick script.
PHP Code:
|
kool trying now thanks
|
Hey Modin Thanks alot, worked perfect. Just had too change
PHP Code:
PHP Code:
|
ah good call there... slipped by me.
glad it worked, for the most part :) |
All times are GMT. The time now is 02:25 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:
|