Quotation Marks In Variables

Results 1 to 3 of 3

Thread: Quotation Marks In Variables

  1. #1
    Billy McClure Guest

    Default Quotation Marks In Variables

    I have a testing site which teachers input test questions into a database. Some of those questions require quotation marks. If the question needs to be edited, ones with quotation marks will loose their quotation marks (When displayed in an HTML input text box). How can I keep the quotation marks in the variable?

  2. #2
    Join Date
    Dec 1969

    Default RE: Quotation Marks In Variables

    In case anyone was wondering - hehe - you can fix the problem by using this:<BR><BR>&#060;input type="Text" value=&#039;&#060;%=Variable%&#062;&#039;&#062;<BR ><BR>(Use single quotes instead of double quotes :)

  3. #3
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Just out of curiosity

    what will you do if the variable = "Akhilesh&#039;s stupidity"

Posting Permissions

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