Pass record parameters to new page |
10/12/2009 2:27:38 PM |
PHPRunner General questions | |
P
Phil_G author
Hello |
|
D
|
danaci 10/12/2009 |
create this button |
P
|
Phil_G author 10/12/2009 |
thanks for the quick response! create this button <INPUT class=button onclick="frmAdmin.a.value='pasparameter'; frmAdmin.submit(); return false;" type=button value="Pass parameter"> List page: Before delete event on the Events tab only. if(@$_REQUEST["a"]=="pasparameter") { $param=explode("=",where); header(location: your_table.php?yourparameter=$param[1]); exit; } |
P
|
Phil_G author 10/12/2009 |
OK if I understand correctly this is one way of passing a value to another page but the problem I have is accessing the values for the current record in the list, not passing the values. thanks for the quick response! Would this not work only if I try to delete a record? |
P
|
Phil_G author 10/12/2009 |
OK I think I have a solution, tho' I haven't actually tried it yet, but it works as far as creating a button and opening up a page:
|