Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
my $dsn = 'DBI:ODBC:XXX'; # XXX is the name of the DSN you created
my $user = 'user'; # valid username that can access the DB
my $auth = 'pass'; # valid password
my($dbh) = DBI->connect($dsn,$user,$auth,
{ RaiseError => 1, AutoCommit => 1});
[COLOR=#0000FF]use[/color] DBI;
[COLOR=#0000FF]my[/color] $server = [COLOR=#808080]"ibmxp"[/color];
[COLOR=#0000FF]my[/color] $db = [COLOR=#808080]"pubs2"[/color];
[COLOR=#0000FF]my[/color] $username = [COLOR=#808080]"sa"[/color];
[COLOR=#0000FF]my[/color] $password = [COLOR=#808080]""[/color];
[COLOR=#0000FF]my[/color] $dbh = DBI->[COLOR=#FF0000]connect[/color]([COLOR=#808080]"dbi:Sybase:$server"[/color], $username, $password);
$dbh->[COLOR=#0000FF]do[/color]([COLOR=#808080]"use $db"[/color]);