Re: Advanced Example for Smarty, Sections, MySQL ?

From: Date: Sun, 04 Feb 2001 19:08:25 +0000
Subject: Re: Advanced Example for Smarty, Sections, MySQL ?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-59@lists.php.net to get a copy of this message
Thanks for the informations, but I have here 2 books for PHP and MySQL with each about 600 pages. I looked at myslq_fetch_row, mysql_fetch_array,... an i understood all. I've already read the Smarty-Docs, but i dont understand: - in witch way i have to get the infos from mysql that i can easy attach the vars to smarty - how i can easy attach the vars to smarty - witch var to choose, that smarty loops correctly I said it before, i saw already an example, i changed it, but it didn't worked. So, i would be very happy if someone could post an advanced example how to get about 10 fields from MySQL, repeat this while there are rows, attach all vars to smarty and make a section. Thanks a lot! taliku ----- Original Message ----- From: "Joris Trooster" <trooster@interstroom.nl> To: <Smarty@lists.ispi.net> Sent: Sunday, February 04, 2001 7:52 PM Subject: [smarty] Re: Advanced Example for Smarty, Sections, MySQL ? > > > Can anyone give me an advanced example for Smarty, Section and Mysql? > > a] Examples of sections with Smarty are in the Smarty documentation & > Quickstart. http://www.phpinsider.com/php/code/Smarty/ > > b] A tutorial of Php and Mysql: > http://www.devshed.com/Server_Side/PHP/DB_Basics > Have a look at the links sections of http://www.php.net and/or > http://www.mysql.com for more links to examples. > > Once you know how to do a] and b] you can easily combine your skills... > > Good luck, > Joris > > > --- > You are currently subscribed to smarty as: taliku@balcab.ch > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/

« previous php.smarty.general (#59) next »