For basic questions, I found a & nbsp; message source code online and other online closed posts. & Nbsp; the database is a remote server. & Nbsp; there are ip addresses and Ports & nbsp; suppose the database name is ABC & nbsp; how can I insert the information read by the following code into this database. Basic issues, online and other online posts
I found a message source code on the Internet. The database is a remote server. There are ip addresses and ports. suppose the database name is ABC. how can I insert the information read by the following code into this database.
Share:
------ Solution --------------------
Www.w3school.com.cn
There is a tutorial on database connection and database insertion.
------ Solution --------------------
You have not explained what database it is, so you cannot write code.
------ Solution --------------------
Check the pdo of php.
------ Solution --------------------
The database is a remote server. This architecture is not suitable, so we should avoid this architecture. Because the connection is unreliable, unstable, and performance is not good.
------ Solution --------------------
The mysqlconnect function does not have a server address. User name and password. . You use this connection .. All others are the same
------ Solution --------------------
How can I switch from C ++ to PHP?