Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Smarty templating (for MySQL eventum) 1

Status
Not open for further replies.

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]
 
if the form has a method of "get" the variables will be in the $_GET superglobal. for "post" forms, $_POST.
 
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]
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top