View Single Post
  #2 (permalink)  
Old 11-29-2007, 01:05 PM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,722
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default Re: Truncated text box - PHP

Try this: <input name="Comments" id="Comments" type="text" value="<?=htmlspecialchars($row_orderComments['PPassValue'])?>" /> This will remove formatting issues that may result from any PHP syntax. Also, make absolutely sure that the first quotation mark is in the position shown in your sample, and that the htmlspecialchars function is not replacing spaces with &nbsp;
__________________
The best way to learn anything, is to question everything.
Interestingly Average Security Blog
Reply With Quote