At 18:51 -0700 6/20/02, Emma Grant wrote:
>Hey all,
>
>I have decided to go with CGI for my programming language. Reason being
>is that I know it a tiny bit better then I do PHP.
>
>Does anyone know a command line command (?) to find out if I have a DBI
>for mysql support installed?

% perldoc DBI
% perldoc DBD::mysql

If these work, they're installed.

>
>I am attempting to connect to a mysql database using a quick CGI script,
>and then I am going to attempt to do the same thing on a web page. Right
>now when I run the script that I have, which I got from many different
>sources from the net, the error that the script gives me (not the die
>error that I can't connect to the database), is telling me that I am
>using a 'Bareword' where and 'operator' is expected. So I assumed that
>it does not understand 'use DBI'

Hard to say w/o seeing your code.  But I'd guess it's not what
you're thinking.

>
>Thanks for any feed back
>
>Emma



---------------------------------------------------------------------
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