monkeypaw201 Posted February 9, 2008 Share Posted February 9, 2008 how can i update all rows and reset a column to a variable i define? Quote Link to comment https://forums.phpfreaks.com/topic/90169-solved-update-all/ Share on other sites More sharing options...
The Little Guy Posted February 9, 2008 Share Posted February 9, 2008 I hope this is what you want: UPDATE tableName SET columnName = 'kitty' It will update ALL ROWS IN THE DATABASE and set "columnName" equal to "kitty" Quote Link to comment https://forums.phpfreaks.com/topic/90169-solved-update-all/#findComment-462365 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.