KoolReport's Forum

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

Echo user input in report view? #101

Open zenon opened this topic on on Sep 4, 2017 - 1 comments

zenon commented on Sep 4, 2017

Hi,

Is it possible to echo out user input (parameters) from report.php in report.view.php?

For example in report.php:-

$this->src('a')  
        ->query($this->params['sqlA'])
        ->params(array(
            '@EDateFrom'=>$this->params["datefrom"],
            '@EDateTo'=>$this->params["dateto"],
            '@ECode1'=>$this->params["field"]))

Can I echo out '@ECode1'=>$this->params["field"] in report.view.php?

KoolReport commented on Sep 4, 2017

That's easy:

<?php
echo $this->params["field"];
?>

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
None yet

None