Convert HTML form data to CSV

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
cssh50
Forum Newbie
Posts: 2
Joined: Tue Oct 25, 2005 5:40 am
Location: Ireland

Convert HTML form data to CSV

Post by cssh50 »

:? I need to take form data from an online form and put it into a CSV file that will be imported to a database. Does anybody have any ideas or maybe have done this before?
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

This should probably be in the code section, but anyway..

What is the format and layout of the HTML form?
cssh50
Forum Newbie
Posts: 2
Joined: Tue Oct 25, 2005 5:40 am
Location: Ireland

Post by cssh50 »

Jenk wrote:This should probably be in the code section, but anyway..

What is the format and layout of the HTML form?
I am using text inputs and selection boxes for data. I know how to get the values from each one in php using $_REQUEST[''] - it is how I would save all this info into a CSV file that I am having difficulty getting my head around. It is simple enough to put it in an email and email it, but I would need to be able to put the info into a csv file.
Post Reply