Re: [SMARTY] Assigning mysql query to smarty template
| From: | Ben Godfrey | Date: | Mon, 09 Sep 2002 00:07:09 +0000 |
| Subject: | Re: [SMARTY] Assigning mysql query to smarty template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5952@lists.php.net to get a copy of this message | ||
On Sunday, Sep 8, 2002, at 22:57 Europe/London, gawan wrote:
while ($row = mysql_fetch_object($result)) { $resarray[$row->ISBN]; }Do you mean: $resarray[] = $row->ISBN; Otherwise nothing is actually getting assigned to $resarray. Ben (q) Ben Godfrey? (a) Developer and Designer, See http://aftnn.org/ for details