44 Other
$album = $$rowHandle{ album };
$artist = $$rowHandle{ artist };
$year = $$rowHandle{ year };
$rating = $$rowHandle{ rating };
print "";
print "$album$artist$year$rating";
print "\n";
}
} else {
print "Unable to execute query $query: $!\n";
}
$queryHandle >finish;
} else {
print "Unable to prepare query $query: $!\n";
}
$databaseHandle >disconnect;
} else {
print "Unable to connect to data souce $dataSource: $!\n";
}
print "\n";
print "\n";
print "\n";
The DBI interface is object oriented, and returns handles to various objects or arrays. In
Perl, queries must be  prepared  before they are executed. The fetchrow_hashref() method is
the equivalent of PHP's mysql_fetch_array() function. It returns a handle to an associative
array. You need to dereference the handle using double dollar signs.




  

Home

About Services Network Support FAQ Order Contact
 

Php MySQL Web Hosting

Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved