waby
Member
Hi,
I try to add a button in a list using the PHP plugin to redirect the user to another form. To do that I need to pass the ID (rowid) data into the URL.
I put this code in PHP Code :
$id = 12;
$url = 'index.php?option=com_fabrik&view=list&listid=58&Itemid=783&lang=en&parent_id=';
header("Location: http://$url$id");
exit();
How can I replace the "12" with the ID (rowid) data as it has been done with the edit, view buttons ?
The placeholder doesn't work.
Thanks in advance
Regards,
Eloise
I try to add a button in a list using the PHP plugin to redirect the user to another form. To do that I need to pass the ID (rowid) data into the URL.
I put this code in PHP Code :
$id = 12;
$url = 'index.php?option=com_fabrik&view=list&listid=58&Itemid=783&lang=en&parent_id=';
header("Location: http://$url$id");
exit();
How can I replace the "12" with the ID (rowid) data as it has been done with the edit, view buttons ?
The placeholder doesn't work.
Thanks in advance
Regards,
Eloise