phplearner2008 Posted September 12, 2008 Share Posted September 12, 2008 Dear members, I am creating a system in php in which if a member expresses interest in other member, it should be displaced in Interests_received.php page in a html table (something like our inbox table displaying message, sender, date etc). If a member clicks the Express Interest button, the Interests_received page should automatically create new rows in the table which would have already existing interests in previous rows. What I want to know is how do I find the last entered row of the html table so that I can append new row? Any idea how email hosters are able to add new mails to our inbox along with our previous mails. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/123913-how-to-add-dynamic-rows-to-a-html-table/ Share on other sites More sharing options...
KevinM1 Posted September 12, 2008 Share Posted September 12, 2008 Dear members, I am creating a system in php in which if a member expresses interest in other member, it should be displaced in Interests_received.php page in a html table (something like our inbox table displaying message, sender, date etc). If a member clicks the Express Interest button, the Interests_received page should automatically create new rows in the table which would have already existing interests in previous rows. What I want to know is how do I find the last entered row of the html table so that I can append new row? Any idea how email hosters are able to add new mails to our inbox along with our previous mails. Thanks in advance. For this kind of DOM manipulation, you'd be better off using JavaScript to create the new rows and append them to the table after you populate their data from the database. Quote Link to comment https://forums.phpfreaks.com/topic/123913-how-to-add-dynamic-rows-to-a-html-table/#findComment-639670 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.