|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
mr.bean Smarty n00b
Joined: 25 Jul 2003 Posts: 2
|
Posted: Fri Jul 25, 2003 9:10 am Post subject: form problem |
|
|
Hi,
I'm new in Smarty, but I have been programming in the last 2 Years in some Project with PHP.
I'm building now some pages with smarty.
I've a Problem now with form page.
When I enter some inputs in a form, and submit it ( the action from this submit call the same page), and do it more times, and then click "BACK" to get last page, not show all variables are from the last page.
It shows a variable from the page, before I click "BACK".
But when I check it.
<tr><td>User ID:**&{$uid} </td><td><input type="Text" name="uid" value="{$uid}" size="10" maxlength="10">&&{$uid}
Here I call 3 times {$uid}, the first and the third $uid show uid from the last page, the second $uid in input tag shows uid from the page before I click "BACK".
I hope you understand, what I mean. |
|
Back to top |
|
mr.bean Smarty n00b
Joined: 25 Jul 2003 Posts: 2
|
Posted: Fri Jul 25, 2003 9:57 am Post subject: sorry |
|
|
I think, is not the problem from Smarty...
but from PHP or Browser or html.
I've tested it without smarty, and came the same Problem.
But can someone help me.
I think the "BACK" has priority to build the page from cache, and then put the other input from php, or something like that.. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|