Able to fetch data from the database but wont send any data to database (NO ERROR SHOWN)

Before this problems occur, I was building the website using XAMPP version 1.8.0 which support php version 5.4 (I already configure my website to use php 5.4), long story short I made like 2 different database in my localhost using XAMPP, I upload the first one into 000webhost localhost (database’s name id10882698_mybidan) which no problem whatsoever BUT when I upload the second DATABASE’S TABLE ONLY (take note I only upload the TABLE ONLY into the id10882698_mybidan database) and the table’s are from a different database and localhost which from XAMPP.

Everything is corrected,I’ve checked it many times, I even compare it with my coding from my PC folder (XAMPP localhost) and it all the same (except the database credentials) but the database (id10882698_mybidan) can only fetch data from it but can’t send any data to it. IF the credentials is wrong it will show and error message but in this case there nothing shown.

Here the coding :-
https://ibb.co/pXKnq8r

Any helps would be appreciate and please respond ASAP because this is for my school project.

How many tables? :sunny:

Before I upload the tables from different database and localhost (XAMPP) which contains 7 tables, the original is only 6 tables.

So the total now is 13 tables.

and what about the seven table
[https://training.webasha.com/redhat]

The seven tables are from different database that locate at XAMPP server. I simply download the seven tables and upload it inside my database at 000webhost server.

1 Like

Can you try PDO to see if that works?

This topic was automatically closed after 11 hours. New replies are no longer allowed.