Derleek Posted July 24, 2008 Share Posted July 24, 2008 Ok. so i am attempting to update a chunk of text in a database. the query looks like this: UPDATE mail SET msg = '<p> asdfasdfasdf</p>' AND title = 'frustrated' WHERE title = '3' as it should. but when i go to check to see that it is updated properly it does not touch the title in the database and msg gets set to 0. Link to comment https://forums.phpfreaks.com/topic/116472-update-querry-not-functioning/ Share on other sites More sharing options...
mbeals Posted July 24, 2008 Share Posted July 24, 2008 try: UPDATE mail SET msg = '<p>asdfasdfasdf</p>', title = 'frustrated' WHERE title = '3'; Link to comment https://forums.phpfreaks.com/topic/116472-update-querry-not-functioning/#findComment-598998 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.