Re: OCIFetchStatement
| From: | Ivo Jansch | Date: | Tue, 11 Dec 2001 12:15:15 +0000 |
| Subject: | Re: OCIFetchStatement | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2253@lists.php.net to get a copy of this message | ||
Hello,
Yasutomo Shimotori wrote:
> Please teach me How to display the array made by
> OCIFetchStatement($parse,&$Kouen,OCI_ASSOCI) with
> Smarty!
> EVENTER_NAME => Array (1)
> 0 => DiskGarage
OCIFetchStatement arrays have a very inconvenient format (they're
'inside out' so to speak). I think the following should work, for
example to display all EVENTER_NAME fields.
{section name=myloop loop=$Kouen.KOUEN_ID}
<br>{$Kouen.EVENTER_NAME[myloop]}
{/section}
Greetings,
Ivo
--
Ivo Jansch <ivo@ibuildings.nl>
ibuildings.nl BV - information technology
http://www.ibuildings.nl