Hello!

Troy Hickey wrote:

>Hi,
>
>I am pretty new to perl and am currently involved in setting up MySQL
>database using Perl. My setup includes MySQL running on Win95.
>I have a simple program which writes a few values to a database. The
>file works fine when using the Command Line interface and the database
>gets the correct entries. However when I try to use the script from a
>web-browser I keep getting the same error message:
>
>"Software error:
>Can't call method "prepare" on an undefined value at
>/cgi-bin/add_employee.cgi line 33."
>
>

Is it possible that the connect() did not succeed? that would explain
why $dbh->prepare() would not work.

>I don't know why this is happening, although I have read as much as I
>could fine on the net regarding this subject.
>I'd be grateful for any help.
>Thanks, -T
>
>
>

--
Ralf Narozny
SPLENDID Internet GmbH & Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de




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



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