Art_peabody Posted August 28, 2007 Share Posted August 28, 2007 Firstly, Hi I'm new to this forum, but I'm making the slow transition from MS Frontpage interface use to build websites to html programming and the use of PHP. I'm currently using Frontpage 2002, I am considering upgrading, but there's lots of info on what package to use so I'm not asking any questions about that. The question: I have a CSV file, (with a great name of 'test.csv') I have 120 rows of items, 3 columns. What I want to do is create a form where the first column of the CSV file is used to populate a dropdown box, then I would like another 2 boxes showing the values in column 2 and 3 respectively of the CSV file, depending on which item on the csv file the user of the web page chooses. Example of how the CSV looks: Title1, Title2, Title 3 Column1firstinfo,Column2firstinfo,Column3firstinfo Column1secondinfo,Column2secondinfo,Column3secondinfo Also note, the first row is all text, and only the first column is text. The second column is a number, and the third is a percentage (eg '0.7%') Is this something that's easy to do? If so any suggestions or places I can look for the solution? Many thanks Art Quote Link to comment https://forums.phpfreaks.com/topic/67071-creating-a-dynamic-form-from-a-csv-file/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.