The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Dynamic Web Page, Generate <select> Dynamically
joehesse
post Aug 28 2018, 11:27 AM
Post #1





Group: Members
Posts: 7
Joined: 5-July 18
Member No.: 26,667



I have an html page, generated with php and mysql, that has an html table of real estate properties. The table has a hidden column. The cells in the hidden column contain folder paths. Each folder contains pdf, jpeg, and text files relvant to the real estate property in the row.

How do I do:
When a row is selected by the user, I want a <select> tag to appear listing the file names in the folder. I know how to write a php function that takes as input the folder name and generates the html <select> of files in the folder. I don't know how to make the <select> appear next to the table.

How do I do:
When the user selects an item (file) from the <select> tag, the file should open in a different browser tab.

Any pointers as to what I should look at would be much appreciated.

Thank you,
Joe
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
joehesse   Dynamic Web Page   Aug 28 2018, 11:27 AM
Christian J   How do I do: When a row is selected by the user I...   Aug 28 2018, 02:53 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 10:12 AM