[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Perl/SQL
[perl tables=domains global=1]
my $dbh = $Sql{domains};
unless ($dbh) {
&Log("Unable to get DB handle domains");
return;
}
$CGI->{domainid} = $dbh->do(q{SELECT LAST_INSERT_ID()});
return;
[/perl]
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700
"Russ Mann" <tech@khouse.org>
Sent by: interchange-users-admin@developer.akopia.com
06/29/2001 03:01 PM
Please respond to interchange-users
To: "Interchange-Users" <interchange-users@developer.akopia.com>
cc:
Subject: [ic] Perl/SQL
Hello,
How do I execute an SQL statement from within a [perl] bock?
Or, how do I execute an arbitrary SQL statement from a regular page?
Thanks,
Russ
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users