Hello all!

I cannot access your pages anymore, but a recursive request would look like
the following:

[*
# localize variables
local $sth ;  # don't use my here, it doesn't work with Embperl 1.x
*]
[-
$sth = $dbh -> prepare ("SELECT * from foo where id = $param[0]") ;.
$sth -> execute ;
-]
[$while $rec = $sth -> fetch $]

[- Execute ('myself.epl', $rec -> {id}) -]

[$endwhile$]

The important pieces is the [*  *] block which makes sure you get a new
local statement handle for every (recuirsive) call of the page. I use this
technic in my own pages and it works great.

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to