Input Type Text Area-problem
| From: | Hanson, Donna | Date: | Thu, 20 Jul 2000 15:44:35 +0000 |
| Subject: | Input Type Text Area-problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1334@lists.php.net to get a copy of this message | ||
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.