This topic is locked

Passing id value to a snippet

11/14/2013 4:01:26 AM
PHPRunner General questions
M
matteor author

Hi, i'need a little help with Phprunner 5.1;
in the Phprunner 4 version, in a List Page i use this code
{doevent name="_table_Event1" id_value=$row.1id_value}
to pass the id value to a snippet code (for example, to add a link to another script).
In Phprunner 5.1, how can implement this?

Admin 11/14/2013

You cannot pass record id to code snippet. Instead of using code snippet consider using 'View as' Custom where you have access to all field values.

http://xlinesoft.com/phprunner/docs51/_view_as__settings_custom.htm