I realize this may be a silly question but I cannot get this to work.  I'm
trying to pass form variables into a database using DBD::DB2..

$sth = $dbh -> prepare ("INSERT INTO USERDATA(FIRST_NAME)
VALUES($fdat{cgifirst})") or die "Cannot INSERT to '$table'" ;


Is there a different way I need to reference my variables?

Any help is much appreciated.

--Diana

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to