Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/123913-how-to-add-dynamic-rows-to-a-html-table/
Share on other sites

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.