This topic is locked
[SOLVED]

 Ampersand in Hyperlink

7/14/2010 9:43:25 AM
PHPRunner General questions
W
webdino author

Hello,

I want to insert a Hyperlink with GET Variables in my template
I wrote it like this

<A href='pdf/quittung.php?ID={$LID_value}' target=_blank>QUITTUNG</A>
But PHPRunner changes the code and make double Ampersand to the Code so the ID does not send to the new page

it looks like this

<A href="pdf/quittung.php?ID={$LID_value}" target=_blank>QUITTUNG</A>
The URL produced by this looks

http://localhost/kranken/pdf/quittung.php?ID=<span id="edit1_LID" val="1" >1</span>"
what is my error
thank you

A
ann 7/14/2010

Hi,
to add link to the list page create link in the following way:

<A href="pdf/quittung.php?ID={$custom_link}" target=_blank>QUITTUNG</A>



Then add to the After record processed event on the Events tab:

$record["custom_link"]=$data["LID"];
W
webdino author 7/15/2010

Hello,

thank you but where can I find the event after processed
in my PHPRunner there are on the list page this events

before record delete

after record delete

before record add

after record add

before record edit

after record edit

W
webdino author 7/15/2010

thank you I have found the Event

It works can I add a second variable to this link?

like ...php?ID=1&ART=Test

A
ann 7/15/2010

Hi,
yes, you can create it in the same way.