How to change a word throughout entire script?

Discussion in 'Scripts' started by z613, Feb 16, 2008.

  1. #1
    Guys,

    I have a php Script thats references an sql database called 'master_list'. Now i have this script up and running on a host and I want to launch the same script on another site - When I do, it the host says I need to choose another name for my sql server because the name 'master_list' is already taken.


    So I guess what I have to do is either chose another host or change the name of the sql server 'master_list' to something else and make the change through the entire script.

    So, how can I change 'master_list' throughout an entire script? Is there an option to do this in DreamWeaver?
     
    z613, Feb 16, 2008 IP
  2. vagrant

    vagrant Peon

    Messages:
    2,284
    Likes Received:
    181
    Best Answers:
    0
    Trophy Points:
    0
    #2
    vagrant, Feb 16, 2008 IP
  3. Crynos

    Crynos Peon

    Messages:
    733
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I use a program called "Simple Search-Replace" for this. It works great.
     
    Crynos, Feb 16, 2008 IP
  4. z613

    z613 Peon

    Messages:
    576
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Awesome Suggestions - Thanks Guys!
     
    z613, Feb 16, 2008 IP