On Tue, Jun 17, 2003 at 16:51:33 -0500, "Kovalcik, Mike A [ITS]" <[EMAIL PROTECTED]> wrote: > > $sth = $dbh->do("INSERT INTO transactions > (date,description,amount,confirmation,nameid,typeid) VALUES > ('$datePaid','$description','$amount','$confirmation',$nameid,$typeid)") > ;
Most likely you want single quotes around $nameid and $typeid. ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly