How to make a dynamic link from a cell value?

QuestionsHow to make a dynamic link from a cell value?
avpman asked 2 years ago

Hi,
I need to link to a php page and pass the cell value as a URL parameter. In the forum I found this answer from Abu:

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

But I'm unclear what some of the variables are:
list1_coulumname
{columname} and
"code"

In my application the table field is "idx" the title of the column on the grid is "App Number" and the URL parameter I want to pass is "app=insert value of idx here" to a php page named edit.php. For example, if the cell contained the value 1234 I want the cell to become a link to edit.php?app=1234 when the user clicked the cell.

How do I do that? Thanks in advance for any help. Sorry, still a NOOB here and trying to learn as fast as I can.

Your Answer

5 + 8 =

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 / 5. Vote count:

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

Let us improve this post!