jimb0t Posted December 7, 2008 Share Posted December 7, 2008 I need to find a way to edit multiple entries of an item in my table without having the need to go through each one of them individually. There are 36,000 records and that would be a very huge pain to have to do that. However I only want certain ones to be edited assuming they match another value in the row. Please see the attached image to get a better idea of what I am trying to say. This is part of my jos_postalcodes3 table. This is one example of what I am trying to do. Of course I need to do a whole lot more but hopefully it is a simple piece of code I can work off of. Thanks in advance for the help. Quote Link to comment https://forums.phpfreaks.com/topic/135964-how-do-i-edit-multiple-rows-in-a-table/ Share on other sites More sharing options...
veridicus Posted December 7, 2008 Share Posted December 7, 2008 UPDATE jos_postalcodes3 SET countyname = 'Albany (NY)' WHERE county_zip = 36001; Quote Link to comment https://forums.phpfreaks.com/topic/135964-how-do-i-edit-multiple-rows-in-a-table/#findComment-708801 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.