mozartpena Posted April 24, 2008 Share Posted April 24, 2008 I have an HTML table which contains a summary of leave requests from employees. The table contains 5 columns: Request ID, Date Requested, Employee Name, Leave Type, and a "View Entry" button after each row. When "View Entry" is clicked it should display the complete request. This comprehensive report NEEDS Request ID as the primary key to be able to display all the data needed in a popup window. so is it possible to retrieve request ID from a specified cell (in this case, the first column for request ID). or is there some ingenious array method to be able to extract request ID? i have had troubles with this for the past days. im turning to you guys for help. thanks in advance! Link to comment https://forums.phpfreaks.com/topic/102662-select-primary-key-from-html-table/ Share on other sites More sharing options...
monkeytooth Posted April 24, 2008 Share Posted April 24, 2008 are you using a database of any kind? If so it would be using a similar concept to pulling up the initial list.. I would just pass a variable via the URL to the popup window link.. then the page that is the popup I would script it to display the info accordingly with the var I am pulling from the URL. Link to comment https://forums.phpfreaks.com/topic/102662-select-primary-key-from-html-table/#findComment-525799 Share on other sites More sharing options...
mozartpena Posted April 24, 2008 Author Share Posted April 24, 2008 are you using a database of any kind? If so it would be using a similar concept to pulling up the initial list.. I would just pass a variable via the URL to the popup window link.. then the page that is the popup I would script it to display the info accordingly with the var I am pulling from the URL. i am using XAMPP (SQL). so there, that's precisely my question. how do i extract that recordID to use in the popup window? Link to comment https://forums.phpfreaks.com/topic/102662-select-primary-key-from-html-table/#findComment-525800 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.