Displaying text

Results 1 to 2 of 2

Thread: Displaying text

  1. #1
    Join Date
    Dec 1969

    Default Displaying text

    I am displaying text from an access database and I am using the following way to display it -<BR><BR>response.write("&#060;textarea&#062;"&rs(" sddescript")&"&#060;/textarea&#062;")<BR><BR>but it ony displays the first word and not the whole sentence.<BR>so I tried extra "" e.g.<BR><BR>response.write("&#060;textarea&#062;"" "&rs("sddescript")&"""&#060;/textarea&#062;")<BR><BR>but this displays the whole sentance with quotes around it.<BR><BR>Any ideas?<BR><BR>Thanks<BR>Gary

  2. #2
    Join Date
    Dec 1969

    Default RE: Displaying text

    Create a variable and set that variable = the database value, i.e. strDescription = rs("sddescript")<BR>Then use the variable to set the value of your textarea<BR><BR>This WILL resolve your problem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts