RE: [PHP-DB] Input Type Text Area-problem

From: Date: Thu, 20 Jul 2000 14:56:58 +0000
Subject: RE: [PHP-DB] Input Type Text Area-problem
Groups: php.db 
Request: Send a blank email to php-db+get-1335@lists.php.net to get a copy of this message
Could you show us the code where you are echoing the existing database data into the textarea? My bet is that is where the problem lies. Sam Masiello System Analyst Chek.Com (716) 853-1362 x289 smasiello@chekinc.com -----Original Message----- From: Hanson, Donna [mailto:dhanson@xperts.com] Sent: Thursday, July 20, 2000 11:45 AM To: php dbs Subject: [PHP-DB] Input Type Text Area-problem Hi, Submitting an Add form with php4 embedded in html to Postgres using a <TEXT AREA> tag works fine, the data DOES get entered. When I run a MODIFY script to populate the array, an empty text box is returned for the field that was entered in the TEXT AREA input field (the others are ok). If I update the record, it changes the value to nothing. This is part of my modify script, can you see anything wrong here? ********** require ("common.php") ; $selectStmt = "SELECT * FROM jobs WHERE oid = $oid" ; $resultEntry["b_contact"] = $row->b_contact ; $resultEntry["info"] = $row->info ; GenerateHTMLForm($resultEntry, "update.php?oid=$oid", " MODIFY ") ; pg_FreeResult ($result) ; ********** Thanks for taking the time to look at this, any help is greatly appreciated, Donna -- Donna Hanson Xperts, Inc. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#1335) next »