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 21744D1B908 for ; Tue, 19 Aug 2003 11:21:14 -0300 (ADT) 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 67149-05 for ; Tue, 19 Aug 2003 11:21:07 -0300 (ADT) Received: from web14807.mail.yahoo.com (web14807.mail.yahoo.com [216.136.224.223]) by svr1.postgresql.org (Postfix) with SMTP id B7926D1B8EB for ; Tue, 19 Aug 2003 11:21:02 -0300 (ADT) Message-ID: <20030819142107.31023.qmail@web14807.mail.yahoo.com> Received: from [200.219.69.252] by web14807.mail.yahoo.com via HTTP; Tue, 19 Aug 2003 11:21:07 ART Date: Tue, 19 Aug 2003 11:21:07 -0300 (ART) From: =?iso-8859-1?q?=C2ngelo=20Marcos=20Rigo?= Subject: Update problem 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/77 X-Sequence-Number: 2254 I have an update escript that works fine with text fields but with an textarea version the script is passing an empty value, for the "texto" field Here is a snip of code that receives the values: $id = $_POST['id']; $titulo = $_POST['titulo']; $resumo = $_POST['resumo']; $texto = $_POST['texto']; print_r($texto); include 'db.php'; $query = "UPDATE revista SET titulo='$titulo', resumo='$resumo', texto='$texto' WHERE id='$id'"; here is the "texto" field where i do write the modifications to be updated: print ("Texto"); Thank´s 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 _______________________________________________________________________ Desafio AntiZona - Um emocionante desafio de perguntas e respostas que te dá um Renault Clio, kits de eletrônicos, computadores, notebooks e mochilas. Cadastre-se, participe e concorra! www.cade.com.br/antizona