KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Present Download Link from DB #3285

Open Tobi opened this topic on on May 3 - 1 comments

Tobi commented on May 3

Hi, I have a url to a pdf in a db and i want to present this as a link is a table. I have tried the :

"formatValue"=>function($value,$row){

            return "<a href=".$row['$row'].">CLICK</a>";

and i can't just get it to work. The url is fetched by a query along with other variables to be presented in the datatables.

I would appreciate any tip to achieve this

Tobi commented on May 3

I added this : $link = $value;

and it worked

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed
solved

None