Forum Moderators: coopster
Given a list of catalog items contained in a comma delimited text file like this:
item_1_name, item_1_shape, item_1_color
item_2_name, item_2_shape, item_2_color
item_3_name, item_3_shape, item_3_color
.
.
.
item_n_name, item_n_shape, item_n_color
how can PHP be used to read the text file and then produce a typical XHTML form? The form would look something like this in the browser:
Item 1 -- Square -- Red ---- [Quantity Box]
Item 2 -- Circle -- White -- [Quantity Box]
Item 3 -- Star ---- Blue --- [Quantity Box]
.
.
.
The quantity boxes are the typical XHTML form input boxes wherein a website visitor can enter an integer.
Ambassador
-------