954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Replacing 63 strings in a sql file

How do I replace 63 strings in a .sql via php. Im making a multiforum software and I can't figure this out.

Ruko
Newbie Poster
9 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 
How do I replace 63 strings in a .sql via php. Im making a multiforum software and I can't figure this out.

create two arrays, one with 63 different strings and another with the 63 associated replacements and then use str_replace or str_ireplace or case insensitive replacement.

R0bb0b
Posting Shark
998 posts since Jun 2008
Reputation Points: 358
Solved Threads: 89
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: