I accidentally overwrote one file (for example, file A) onto another (for example, file B), so I had to rewrite file B (Which wasn't hard, it was a pretty short file. Now, PHP is giving me an error that I never had before, saying that all of my functions (which are in file A, the one I didn't modify at all) have been previously declared. So, is this something server-based or is it just my code? Because I'm pretty sure the file B code is almost exactly as it was before.

You get this error if more than one function with the same name is found. Chances are you duplicated one.

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.