topical media & game development
mashup-gmaps-ch09-11.cgi / cgi
#!/usr/bin/perl
use DBI;
use strict;
use CGI qw/:standard/;
print header(-type => 'text/xml');
my dbh))
{
die "Couldn't open connection to database\n";
}
print("<markers>\n");
my dbh->prepare('select * from ch08_cplx');
row = row->{lat},
row->{title},
row->{street},
row->{postcode},
sth->finish();
print("</markers>\n");
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.