Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Help Need Plugin to fetch from database

 
Post new topic   Reply to topic    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
klaud1u
Smarty n00b


Joined: 18 Apr 2013
Posts: 3

PostPosted: Thu Apr 18, 2013 9:53 pm    Post subject: Help Need Plugin to fetch from database Reply with quote

I need A plugin to fetch from database the latest links added and put them on my home.tpl in a box. i am new with smarty and i dont know really how this works can you help me please

Here is the database if you need something else please let me kno
http://www.girlshare.ro/32423176.5[/url]
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Fri Apr 19, 2013 5:15 am    Post subject: Reply with quote

Is there any good reasion why you want to use a plugin?

I would fetch the data from database in the main script and assign results to template variables.
Back to top
View user's profile Send private message
klaud1u
Smarty n00b


Joined: 18 Apr 2013
Posts: 3

PostPosted: Fri Apr 19, 2013 8:34 pm    Post subject: Reply with quote

U.Tews wrote:
Is there any good reasion why you want to use a plugin?

I would fetch the data from database in the main script and assign results to template variables.
ok so how can i do that Very Happy
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7285
Location: Lincoln Nebraska, USA

PostPosted: Fri Apr 19, 2013 9:08 pm    Post subject: Reply with quote

http://www.smarty.net/sampleapp1
Back to top
View user's profile Send private message Visit poster's website
klaud1u
Smarty n00b


Joined: 18 Apr 2013
Posts: 3

PostPosted: Sat Apr 20, 2013 12:09 am    Post subject: Reply with quote

mohrt wrote:
http://www.smarty.net/sampleapp1
U.Tews says that is another way how can i do that in his way
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Plugins 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