Re: Connection to SQL Server from Linux

2001-08-16 Thread Mdona99
I suggest getting the O'Reilly Programming the Perl DBI book. It has lots of examples for different databases. michelle

Re: DBI and HTML Display

2001-07-15 Thread Mdona99
Oh my gosh, a question I can actually answer! #! /usr/bin/perl -wT use CGI; use DBI; #parse form data here or whatever else you need to do ### CONNECT TO DATABASE ### $dbh = DBI->connect("DBI:mysql:nameofyourdatabase", "yourdatabase", "password") || die $DBI::errstr; ### BUILD QUERY ##

Re: Help with DBD::Chart, Please! (Thank You!!)

2001-07-09 Thread Mdona99
Thanks for the replies! (Especially you, Dean :) I finally got it to work. YAY! Here's the code that worked if anyone is interested: #! /usr/bin/perl -wT use CGI; use DBI; use CGI::Carp qw(fatalsToBrowser); $dbh = DBI->connect("DBI:mysql:mydatabase", "username", "password") || die $DBI::err

Help with DBD::Chart, Please!

2001-07-07 Thread Mdona99
Hello Everyone, The code I'm including makes the line graph I want, except that no points are plotted. It comes out as an empty graph with only the 0 for elevation on the Y-axis label and the first date, 2001-01-01, on the X-axis label. I have absolutely no idea why. I've tried two methods

DBD::Chart Code

2001-07-06 Thread Mdona99
Hello, I was wondering if anyone has some code that they know works using DBD::Chart that I could test my installation with? I'd really like something simple so I can see how it works. Any help would be appreciated. Michelle Donahue