Access to data for PDF-document

kissinger

Member
Hallo!

I have a list. Over the list is a introduction-text, in this text I can write php-code.

Then I have a search-field with a range of data. If I write the 2 data and send the search-form I get the records within the data range, ok. And in the introduction-text I can see the search-data like 05.06.2013 to 30.09.2013

But if I ckick on "PDF" I get the list data ok, but the range from the introduction-text is not right.

Here is my code for the range of data:

Code:
$heute = date("d.m.Y");
 
if(isset($_REQUEST[fabrik___filter][list_7_com_fabrik_7][value][0][0]))
{
    $von =$_REQUEST[fabrik___filter][list_7_com_fabrik_7][value][0][0];
    $bis = $_REQUEST[fabrik___filter][list_7_com_fabrik_7][value][0][1];
 
    $von1 = explode (" ", $von);
    $von = date_mysql2german($von1[0]);
 
    $bis1 = explode (" ", $bis);
    $bis = date_mysql2german($bis1[0]);
 
}
else
{
    $von = "01.01.2013";
    $bis = "$heute";
}

So, the problem is that the variables $von and $bis in the PDF-document are always from the else-path:

Code:
  $von = "01.01.2013";
 
    $bis = "$heute";

What I can do that in the PDF-document is also the range from the form and list?

Thank you!
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top