HI guys i'm newbie here, sorry if my english is not so well, (well i'm rarely using english ^^)
my question is that i'm using PHP to create a report (the report is using FPDF class)
as example if i want to create a sales report based on period defined by the user
so the value of the starting period n the ending period is saved into a variable
to be used for query. now the main problem is when a submit button is pressed and the page is redirected to a page which will display the result of the query in PDF format. but soon i realise that this is a dead end, what sould i do if a want to create another report?? i hit the back button and the page displayed as an expired display and needed to refresh
and i thought it will be better if the PDF page will come on a pop up window, but the problem is if i use the javascript pop up window then the Value stored in session on the php won't be passed to the pop up window?? am i right??
please help me
my question is that i'm using PHP to create a report (the report is using FPDF class)
as example if i want to create a sales report based on period defined by the user
so the value of the starting period n the ending period is saved into a variable
to be used for query. now the main problem is when a submit button is pressed and the page is redirected to a page which will display the result of the query in PDF format. but soon i realise that this is a dead end, what sould i do if a want to create another report?? i hit the back button and the page displayed as an expired display and needed to refresh
and i thought it will be better if the PDF page will come on a pop up window, but the problem is if i use the javascript pop up window then the Value stored in session on the php won't be passed to the pop up window?? am i right??
please help me
Comment