On Sat, 24 Nov 2001, Vic wrote:

> #!/usr/bin/perl -w
> use CGI::Carp qw(fatalsToBrowser);
> use CGI;
> use DBI;         # Version 1.20
> use DBD::mysql;  # Version 2.09

$q = new CGI;
$first = $q->param('first');
$last = $q->param('last');

> print "Content-type: text/html\n\n ";
> 
> $dbh = DBI->connect("DBI:mysql:test:localhost","test123","test123");

Give those three lines a spin and see if it helps.

-- 

Sapere aude
My mind not only wanders, it sometimes leaves completely.
Never attribute to malice that which can be adequately explained by stupidity.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to