[PHP-DB] Data Truncated From: Hoo Kok Mun (kokmun <email protected>)
Date: 12/18/00

Help..

My data is truncated when updating to the database.

I have two pages.
"Edit page" and "form page"

I added some debug codes in my page.
My results:- (echo $t1_client)
In edit page - t1_client = "Company ABC"
Before submitting in form page - t1_client = "Company ABC"
After submitting back to edit page - t1_client = "Company"

I cannot spot any thing missing, so I was hoping for some experts here to
help me out.

Here is my form page:- (the field is $t1_client)
<select size="1" name="t1_client" >
         <option value=<? if ($t1_client) echo $t1_client; else echo
$jobs_cust['jobs_cname'] ?>>
         <? if ($t1_client) echo $t1_client; else echo $tt_client; ?>
         <? client_pull_down(); ?>
       </select>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>