Re: OCIFetchStatement
| From: | Yasutomo Shimotori | Date: | Tue, 11 Dec 2001 13:04:39 +0000 |
| Subject: | Re: OCIFetchStatement | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2254@lists.php.net to get a copy of this message | ||
Hi Ivo!
Your example works great.
Thank you!!
>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
>
>
>
>---
>You are currently subscribed to smarty as: ystm@nextscape.net
>To unsubscribe send a blank email to $subst('Email.Unsub')
>Visit Smarty's homepage at
>http://www.phpinsider.com/php/code/Smarty/