can you help me to finished this project
I googled it for you:http://www.roseindia.net/sql/mysql-example/php-sql-example.shtmlhttp://www.webdatabasebook.com/2nd-edition/examples/index.html
I will learn php and sql programming...
Don't get me wrong. I like PHP and MySQL. But, unless you are using PHP to communicate with the serial port (and that does not work on Windows), then using PHP to communicate with the database is just an unnecessary complexity. If you are even considering using VB6, then clearly you are on Windows, and PHP is not the right tool (for accessing the serial port/data).
First I transfer data from Arduino to visual Basic 6.Then immediately write the data to the database server.
I don't know if MySQL provides a way for VB applications to write to the database
Making PHP get data from a SQLServer instance might be an interesting challenge.
Through ODBC (on Windows) you can get access to any database/datasource you like for which ODBC drivers are provided, including MySQL.