Jump to content

PHP Edit Page


anp24

Recommended Posts

Hello,

        I have a PHP page with a list of records coming from the database through the while loop. Each record can be edited with the edit link with code as

 

<form action='' method='post' name='fr'>
                         <input type='image' src='images/edit.png' name='task' value='Edit' />
				   </form>

 

Now I want to know, if I want to pass Edit Id for each record through session variable, How can I do this.

Link to comment
https://forums.phpfreaks.com/topic/240087-php-edit-page/
Share on other sites

yeah, I got that, but to pass it through the session, first you need to know what it is, then you need to place it in the session.

 

so you use the hidden field so you can grab it and place it in the session, otherwise how do you know which one was selected by the user?

Link to comment
https://forums.phpfreaks.com/topic/240087-php-edit-page/#findComment-1233257
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.