ADD delete button for each row result |
5/15/2010 10:49:58 AM |
PHPRunner General questions | |
F
force authorDevClub member
how to add a delete button for each row of the result. |
|
A
|
ann 5/18/2010 |
Hi, $record["custom_link"] = "<a href=\"TableName_list.php?a=delete&recordid=".$data["Id"]."\">delete</a>";
if ($_REQUEST["a"]=="delete"&& $_REQUEST["recordid"]) |
F
|
force authorDevClub member 5/18/2010 |
Hi, to add a delete button for each row proceed to theHTML mode on the Visual Editor tab and add a custom link {$custom_link} to the row. Then modify the After record processed event $record["custom_link"] = "<a href=\"TableName_list.php?a=delete&recordid=".$data["Id"]."\">delete</a>";
if ($_REQUEST["a"]=="delete"&& $_REQUEST["recordid"])
|
A
|
ann 5/18/2010 |
Hi, |