Page 1 of 1

HELP!! Problem truncating values when editing!!!!

Posted: Fri Nov 21, 2008 4:32 pm
by webappgeek
:banghead:
The code I have to put into the text field for editing is:

Code: Select all

Truck Co: <input type='text' name='trkgco' size='100' value=<?php echo $trkgco; ?>
But at top of page I do an echo of the value and it has the correct data.

The value of the data can be any trucking company name such as Marten Transport Ltd

But all that shows up is Marten.

Can someone tell me what I need to do to fix this?

______________________________________________________
Webappgeek

SO much time and SO little to do!

Re: HELP!! Problem truncating values when editing!!!!

Posted: Fri Nov 21, 2008 4:46 pm
by requinix
You're using quotes around the type, name, and size, so why not try it for the value too?

Re: HELP!! Problem truncating values when editing!!!!

Posted: Fri Nov 21, 2008 4:50 pm
by webappgeek
tasairis wrote:You're using quotes around the type, name, and size, so why not try it for the value too?
Thx!! That was it! Thanks alot. :lol: