Jump to content

session? store datagrid record value in session and onclick pass to new window


sayedsohail

Recommended Posts

Hi all,

 

I need some help, in regards to storing $id value into session variable and using in new window, at the moment i am using get statement to capture record id in edit window. any help will be greatly appreciated.

 

I am not sure how to do this, since i got a long list of records in my database.

 

while(list($id, $name) = mysql_fetch_array($result)) 
{ 

print "<tr>
<td>$name</td>
<TD><img OnClick="window.open('edit_client.php?rec_No='+ $id)"></td>
</tr>"; 

} 

 

 

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.