Re: Perl Section...
by w trillich other posts by this author
Apr 20 2000 10:51AM messages near this date
RE: Perl Section...
|
Re: Perl Section...
> while($domain = $sth->fetchrow_array)
> {
> $PerlConfig .= <<"CONFIG";
> <VirtualHost $ipAddr>
> ServerName www.$domain
> ServerAdmin webmaster@$domain
> ServerAlias $domain
> DocumentRoot $baseDir/www.$domain/htdocs/
> </VirtualHost>
>
> CONFIG
> }
doesn't $sth-> fetchrow_array() return a reference to an
array, instead of a simple scalar?
$row = $sth-> fetchrow_array;
foreach $col ( @$row ) { ... }
?
Thread:
Geoffrey Young
w trillich
darren chamberlain
Bryan J. Opfer
|