Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

form problem

 
Post new topic   Reply to topic    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
mr.bean
Smarty n00b


Joined: 25 Jul 2003
Posts: 2

PostPosted: Fri Jul 25, 2003 9:10 am    Post subject: form problem Reply with quote

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
View user's profile Send private message
mr.bean
Smarty n00b


Joined: 25 Jul 2003
Posts: 2

PostPosted: Fri Jul 25, 2003 9:57 am    Post subject: sorry Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP