Okay, I just change hosting providers and I was using my old account with the previous hosting company as a testing server. Anyway, I set up the new account today and ready to make my account live.... but of course it couldn't be that simple.

I have code for a view profile that gets that users zipcode from the database when he registered. It then goes to the zipcode table and looks up the city and state then displays that information.

It's working perfectly fine on the old hosting site, but it displays a blank on the new site.

the code is 99% the same, i updated the database name, and username but the rest of the info stayed the same... So what could be causing this problem???

Okay, I suppose the answer to this question is actually easy now, lol...

The answer is only 1/4 of the database was uploaded, for some reason the whole thing didn't upload...

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.