Hi !

> but when it comes to diplaying the data back in a pre-filled
> form i need to use the <? echo ...?> approch, &(); seems
> much more elegent and easier for the layout guys to
> understand.
> 
> I have tried what one might expect to work but get:
> "Parse error: parse error, expecting `':'' or `'.'' or
> `MIDGARD_VARE' in content on line ..." message

I don't know what you've tried, but this code should work:

for($i=0;$i<count($table);$i++) { //indexed array
?> &(table.i); <?
}

As well as this code:

reset($table); // associative array
while(list($k,$v)=each($table)) {
?> &(table.k); = &(v); <?
}

> I may also be asking for something the doesnt exist, which
> is fine, just hoping i might be doing it wrong.

Well, I might as well be wrong, but AFAICR I added this feature a few
months ago.

> 
> Thanks for your help
> 
> carl.

-- 
Best Regards,

David Guerizec - Open Source Developer @ AurorA R&D

The Boulder Pledge : "Under no circumstances will I ever purchase anything
offered to me as the result of an unsolicited e-mail message. Nor will I
forward chain letters, petitions, mass mailings, or virus warnings to
large numbers of others. This is my contribution to the survival of the
online community." 


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to