URL as Parameter in Link

QuestionsURL as Parameter in Link
Mario asked 5 years ago


When I have a link, how do I transmit the url-parameter for example "code" in the line. I tried this, but this does not work:

$col["link"] = "link.php?list1_columname={columname}&($_GET["code"])";

— In a usual Link it works like this:

<a href="link.php?<?php echo $_SERVER["QUERY_STRING"]?>"> link</a>

— And in phpgrid :-)?

1 Answers
Abu Ghufran answered 5 years ago

Its php syntax, to concat string use '.'

$col["link"] = "link.php?list1_columname={columname}&c=". $_GET["code"];

Your Answer

2 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?