fireman Posted December 16, 2003 Share Posted December 16, 2003 ok, I know this is basic, but what can i say, I\'m a fireman. I want to UPDATE a row based upon input from a user. what is wrong with the following code? $query = ("UPDATE votes SET prop=\'$prop\', month=\'$month\', day=\'$day\', year=\'$year\', desc=\'$desc\', vote=\'$vote\' WHERE id=\'$id\'"); That\'s it, simple huh? Any help would be most appreciated Quote Link to comment Share on other sites More sharing options...
nabeel21 Posted December 16, 2003 Share Posted December 16, 2003 I think this desc column is causing a problem. I remember having this kind of problem but when i changed the column name to something else... it worked. Please give it a try. goodluck Quote Link to comment Share on other sites More sharing options...
fireman Posted December 16, 2003 Author Share Posted December 16, 2003 strange but true--that did the trick nabeel. I thank you!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.