Read from html form, save into sql table  and then export as cvs file through php web application.