woocha Posted January 17, 2008 Share Posted January 17, 2008 I have 100's of files that access a field in a mySQL DataBase. I had to change the field name and now I have to update 100's of files. The files read: $sql = 'SELECT user_id, username, user_colour, user_birthday FROM ' I need it to now read: $sql = 'SELECT id, nick, user_colour, user_birthday FROM ' I know I could go through all files and execute a replace 'user_id' with 'id', but that would take forever. Does anyone know a program to do this easier? Quote Link to comment https://forums.phpfreaks.com/topic/86470-alter-many-files-all-with-same-variable-in-them/ 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.