I am designing a website. It is Linux Hosting. I want to create a form that accepts online inputs from the visitors and stores data in MySql and then acknowledge a Receipt Number (Auto Incremented Number) to the visitor, who submitted the form. How to do this ? Can somebody help me ?
Read through here: http://www.php-mysql-tutorial.com/mysql-insert-php.php
this will help you out.
And about the auto-increment thing, just add a field into the table called ID or Number or anything, set it to an "int" and in options set it to "auto increment" and that's all. you can do this in phpmyadmin and it's very easy.