Jul 21, 2006 #1 Slippenos MIS Apr 22, 2005 333 US How do I pick up a form variable on a page that was passed from a previous page? Is there any documentation on this? Can anyone point me in the right direction? Thanks in advance. [blue]Go to work to learn. Don't go to work to earn.[/blue]
How do I pick up a form variable on a page that was passed from a previous page? Is there any documentation on this? Can anyone point me in the right direction? Thanks in advance. [blue]Go to work to learn. Don't go to work to earn.[/blue]
Jul 21, 2006 1 #2 jpadie Technical User Nov 24, 2003 10,094 FR if the form has a method of "get" the variables will be in the $_GET superglobal. for "post" forms, $_POST. Upvote 0 Downvote
if the form has a method of "get" the variables will be in the $_GET superglobal. for "post" forms, $_POST.
Jul 21, 2006 Thread starter #3 Slippenos MIS Apr 22, 2005 333 US Is there a way to dump the contents of a variable on the screen using smarty? [blue]Go to work to learn. Don't go to work to earn.[/blue] Upvote 0 Downvote
Is there a way to dump the contents of a variable on the screen using smarty? [blue]Go to work to learn. Don't go to work to earn.[/blue]
Jul 21, 2006 #4 jpadie Technical User Nov 24, 2003 10,094 FR insert this somewhere relevant: Code: echo "<pre>"; print_r($_GET); echo "</pre>"; i may be mistaken but sfaik there is nothing in the smarty templating system that might (or could) override the basic php functionality. Upvote 0 Downvote
insert this somewhere relevant: Code: echo "<pre>"; print_r($_GET); echo "</pre>"; i may be mistaken but sfaik there is nothing in the smarty templating system that might (or could) override the basic php functionality.