Received: from smtp2.sfbcic.com (smtp-outgoing.sfbcic.com [207.203.128.91]) by postgresql.org (Postfix) with ESMTP id C4AE3475469 for ; Wed, 17 Apr 2002 17:32:10 -0400 (EDT) Received: from zeus ([207.203.128.81]) by smtp2.sfbcic.com with Microsoft SMTPSVC(5.5.1877.197.19); Wed, 17 Apr 2002 16:27:01 -0500 Received: from mercury.sfbcic.com ([10.65.10.14]) by zeus; Wed, 17 Apr 2002 16:31:56 -0500 (CDT) Received: by MERCURY with Internet Mail Service (5.5.2653.19) id <1515R63S>; Wed, 17 Apr 2002 16:30:54 -0500 Message-ID: <040AE3A029B3D51181D000508BC75D0201387763@MERCURY> From: "Hillensbeck, Preston" To: 'Cornelia Boenigk' , pgsql-php@postgresql.org Subject: Re: Date: Wed, 17 Apr 2002 16:30:53 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200204/52 X-Sequence-Number: 1076 Hmmm well it still tells me the same thing when I take the quotes off. Is there some type of casting that I might have to do? I have read about the cast command, but don't understand how to use it. -----Original Message----- From: Cornelia Boenigk [mailto:poppcorn@cornelia-boenigk.de] Sent: Wednesday, April 17, 2002 4:19 PM To: pgsql-php@postgresql.org Subject: Re: [PHP] Hi Preston @$sql="INSERT INTO checking VALUES('$check_date', '$check_num', '$check_pay', '$check_amount', '$check_trans_type');"; Try your INSERT without '' around '$check_amount'. The quotes are only used for character-types but not for numeric data. Regards Conni ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org