This topic is locked

Field value to add into a link to another file

1/12/2009 2:45:39 AM
PHPRunner General questions
F
fpilot author

I have a table of orders and I need to generate an invoice and want to pass 2 values which are coming in each record but am not sure how to syntex, in html mode i am using invoice.php?OId={$OId_value}but it gives something like this <span20%219 and thats all. although this code in curly brackets gives just the value if I just put it alone....pls advise

J
Jane 1/13/2009

Hi,
what PHPRunner version do you use?

F
fpilot author 1/13/2009

Hi,

what PHPRunner version do you use?



PHPRUNNER 5.0 Build 587

J
Jane 1/13/2009

Hi,
you can use your own variables in the link:

invoice.php?OId={$OId}



And then define these variables in the List page: After record processed event on the Events tab:

global $record;

$record["OId"] = $data["OId"];