[Solved] i want to save my Html table data in mysql table in php [closed]


Time to study.

  1. PHP With PDO (here you can work with databases using PHP): http://php.net/manual/pt_BR/book.pdo.php
  2. Use a POST form to save the data. You need to put each td value inside of a input. http://www.html-form-guide.com/php-form/php-form-post.html
  3. You need to create a database (http://dev.mysql.com/doc/refman/5.5/en/create-database.html) and a table (http://dev.mysql.com/doc/refman/5.1/en/create-table.html).
  4. And finally insert command, to add the values inside a row of the table. http://dev.mysql.com/doc/refman/5.6/en/insert.html

You can run each command using PDO or shell command, as Terminal or even CMD.

If you are using a server that don’t have mysql, don’t forget to install (or a local machine): http://dev.mysql.com/downloads/

solved i want to save my Html table data in mysql table in php [closed]