Assigning mysql query to smarty template
| From: | gawan | Date: | Sun, 01 Sep 2002 16:13:10 +0000 |
| Subject: | Assigning mysql query to smarty template | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5901@lists.php.net to get a copy of this message | ||
Hi
I am a beginner in using Smarty. Where could I find a basic example on how
to assign a mysql query to a smarty template variable.
Should I try to assign every result row separately or would assigning the
whole query at once be more elegant (as an array of arrays). I am still
struggling with getting the basics right.
thank you
P.S. I wonder why smarty.php.net is so often unreachable?