Re:

From: "Hillensbeck, Preston" <PHillensbeck(at)sfbcic(dot)com>
To: 'Cornelia Boenigk' <poppcorn(at)cornelia-boenigk(dot)de>, pgsql-php(at)postgresql(dot)org
Subject: Re:
Date: 2002-04-17 21:30:53
Message-ID: 040AE3A029B3D51181D000508BC75D0201387763@MERCURY
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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(at)cornelia-boenigk(dot)de]
Sent: Wednesday, April 17, 2002 4:19 PM
To: pgsql-php(at)postgresql(dot)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

Responses

  • Re: at 2002-04-17 21:46:24 from Eckhard Hoeffner

Browse pgsql-php by date

  From Date Subject
Next Message Chadwick Rolfs 2002-04-17 21:43:21 Re:
Previous Message Chadwick Rolfs 2002-04-17 21:28:41 Re: