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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.