X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id B1B55D1C4D5 for ; Thu, 14 Aug 2003 13:47:22 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 16723-09 for ; Thu, 14 Aug 2003 10:45:47 -0300 (ADT) Received: from web14805.mail.yahoo.com (web14805.mail.yahoo.com [216.136.224.221]) by svr1.postgresql.org (Postfix) with SMTP id 188CDD1F434 for ; Thu, 14 Aug 2003 10:46:42 -0300 (ADT) Message-ID: <20030814134646.77797.qmail@web14805.mail.yahoo.com> Received: from [200.219.69.252] by web14805.mail.yahoo.com via HTTP; Thu, 14 Aug 2003 10:46:46 ART Date: Thu, 14 Aug 2003 10:46:46 -0300 (ART) From: =?iso-8859-1?q?=C2ngelo=20Marcos=20Rigo?= Subject: Update script To: pgsql-php@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/55 X-Sequence-Number: 2232 Hi I have a script to update some records in a postgresql database. when i do modify what i have to modify it give me the warning: Warning: pg_query() query failed: ERROR: pg_atoi: zero-length string in /var/www/html/adm/modificar_2.php on line 24 ERROR this is line 24: $result = pg_query($db, $query); this is modificar_2.php : - $titulo
- $texto
"); pg_close($db); ?> This is a snip from modificar_1.php "); print (""); print (""); $row++; } while ($row < $numrows); ?> Thanks in advance ===== Ângelo Marcos Rigo AMR Informática (51) 3348 0870 Rua Pe. Alois Kades 400/210 Porto Alegre /RS/Brasil http://amr.freezope.org angelo_rigo@yahoo.com.br _______________________________________________________________________ Conheça o novo Cadê? - Mais rápido, mais fácil e mais preciso. Toda a web, 42 milhões de páginas brasileiras e nova busca por imagens! http://www.cade.com.br
ID$myrow[0]
Título
Texto