#!/usr/local/bin/perl ######################################################################### #Search for ice cream orders - using database ######################################################################### use CGI "param"; use DBI; @searchFlavor = param('ice'); $dbh = DBI->connect("DBI:mysql:demo","demo","demo"); #$dbh = DBI->connect("DBI:mysql:demo:db.it.scps.nyu.edu:3300","demo","demo"); print "Content-type: text/html \n"; print "\n"; print "
Name | Address | Ice Cream Flavor |
---|---|---|
$fname | $address | $flavor |