How to insert a row into a table. I use mysql database.
Connection to database is successful on localhost and the server.
The insert is done in localhost, but when I run on a server (I tried some free web hosting server) the row does not added.
No error message no exception.
I use this code:
$this->MySQLDatabase1->execute("insert into table_name (id, name, age) values ('0', 'test', '1')");
What is the problem?
ps: sorry my bad english
robcaa 1 year ago
How to insert a row into a table. I use mysql database.
Connection to database is successful on localhost and the server.
The insert is done in localhost, but when I run on a server (I tried some free web hosting server) the row does not added.
No error message no exception.
I use this code:
$this->MySQLDatabase1->execute("insert into table_name (id, name, age) values ('0', 'test', '1')");
What is the problem?
ps: sorry my bad english
robcaa 1 year ago