Jump to content

Adding Edit and Delete buttons to table rows


jason.watkins

Recommended Posts

Hello all,

 

I am new around here and I am also very new to PHP, having only about a month's experience with it.  I come from an ASP.NET background, but have fallen in love with PHP and use it most of the time now!

 

Anyway, on to my question.  What I am trying to do is populate a table with news articles (Subject, Body, Date, etc.) and I also want to add an Edit and Delete button to each row/article.  I know how to populate the table with the necessary data, but I don't know the best way to go about adding the buttons to each row.  I have a few ideas on how I can make this work, but I want to make sure to do it the best possible way.  It is very easy to do in ASP.NET, so I figure that PHP will have a simple solution as well.

 

Thanks a lot in advance for any advice, and if you need any more info, please let me know.

Link to comment
Share on other sites

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.