Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Smarty Sample Application
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
TheEditor
Smarty Rookie


Joined: 22 Nov 2011
Posts: 12

PostPosted: Wed Nov 23, 2011 6:53 pm    Post subject: Reply with quote

I suppose this is for academic interest - the fix worked fine. But I get that error when there *is* a record already in the db.
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4636
Location: Hamburg / Germany

PostPosted: Wed Nov 23, 2011 7:41 pm    Post subject: Reply with quote

Yes, you are right. My assuption was wrong. The template gets called with unassigned varibles on each add.
Back to top
View user's profile Send private message
David11
Smarty n00b


Joined: 29 Mar 2012
Posts: 1

PostPosted: Thu Mar 29, 2012 7:20 am    Post subject: Reply with quote

I wanted the first entry to show up first because it is somewhat of an intro. This is an extremely simple example, a lot of things could be done to spruce it up.
Back to top
View user's profile Send private message
WebStatsO
Smarty n00b


Joined: 26 Jun 2014
Posts: 1

PostPosted: Fri Jun 27, 2014 9:06 pm    Post subject: Reply with quote

Hi, the link doesn't work anymore?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
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