Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
Thread: updating fields
09-11-2002, 01:39 AM #1
How can I update various fields at once? I tried
UPDATE members SET bio='$bio',chat='$chat' WHERE username='$username'"
but it doesn't seem to update the chat field for some reason
I'm using php
09-11-2002, 02:32 AM #2
Nevermind, realised what I did wrong Forgot to update the page which shows the results
Today isn't my day for coding
09-11-2002, 02:32 AM #3
- Join Date
- May 2002
- Marion, IA USA
- Thanked 84 Times in 83 Posts
Well from what you posted there is nothing wrong with your SQL statement.
Are you sure that $chat actually has a value? Have you tried echoing it out to the document?Spookster
CodingForums Supreme Overlord
All Hail Spookster
09-11-2002, 03:24 AM #4
LOL I forgot to upload the results page. Doesn't matter anymore, it works