Dear MySQL wizards,

Perhaps this is more of a Perl question than a mySQL question but I am trying 
to access a mySQL database.  

Here is the line of code.  

if ($q->param('field') eq "") {&printform()} else {&results()}

This gives the reply:

Use of unitialized value in string eq at select.cgi line 18.  
main::(select.cgi:18):  if ($q->param('field') eq "") {&printform()} else 
{&results()}

Any ideas where I can find what is wrong with this code?  Or a better way to 
access a mySQL database with a Perl Script?  Examples?  

TIA,

-- 
Andrew Lietzow               
The ACL Group, Inc.

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