I had the same problem in a php msql app, instead of using

<input type="text" value="#varaible#"> I used

<textarea>#variable#</textarea>. When you use the <input type="text"> tag
the browser thinks the " in your data string is the end of the value
attribute. Using the textarea tag allows you to use " in your data without
any problem.



J "Darin" Thomas - Web Developer
Destin Resorts
[EMAIL PROTECTED]

-----Original Message-----
From: Nichols, Robert H. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 8:51 AM
To: Fusebox
Subject: RE: Strange characters


okay, let me restate -- I have a string of characters*:

-->Assign the patient to one of several hundred "diagnosis-related groups,"
or DRG's, using appropriate computer software. <--

This saves and can be found in the database just fine.  Now when I try to
output this text into a text box:

<input type="text" name="Task" value="#Description#" size="70"
maxlength="600">

The string is truncated to:

-->Assign the patient to one of several hundred <--

* - BTW, I used --> to be the beginning of the string and <-- to be the end.

Robert H. Nichols
Web Developer
Center for Engineering & Environmental Technologies
Information Delivery Systems <http://ids.rti.org>
Research Triangle Institute
Voice: 919-541-8009          Fax: 919-541-6936
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to