Basic issues, online and other online knot stickers
Online to find a message source. The database is a remote server. There are IP and port assumptions database name is ABC how to insert the information read from the following code into this database.
Share to:
------Solution--------------------
www.w3school.com.cn
There is a tutorial for connecting db, inserting a db.
------Solution--------------------
You didn't say what the database is, so you can't write code.
------Solution--------------------
Look at the PDO in PHP.
------Solution--------------------
The database is a remote server. This architecture is inappropriate and should be avoided. Because the connection is unreliable and unstable, performance is not.
------Solution--------------------
The Mysqlconnect function does not have a server address. User name password. it. You use this connection. The rest are the same.
------Solution--------------------
The great God from C + + to PHP?