Passint variables through POST
Posted: Thu Dec 25, 2003 3:28 am
i was wondering if it is possible to pass a variable through POST. I need to pass an array to another document through post. I know that it is not possible to call PHP function through a button. I just want to cut down on the number of queries that i perform.
What i am trying to do is to creat a function that takes the page content and opens it in a new window w/o page nav so that it prints nice.
I could pass the artical ID to the other page, but that would require another MYSQL query. I can pass the text of the document through POST.
I am not sure what is better.
Thanks.
Hope that makes since but it is late and i am too lazy to re read it.
What i am trying to do is to creat a function that takes the page content and opens it in a new window w/o page nav so that it prints nice.
I could pass the artical ID to the other page, but that would require another MYSQL query. I can pass the text of the document through POST.
I am not sure what is better.
Thanks.
Hope that makes since but it is late and i am too lazy to re read it.