" equivalent

Discussion in 'HTML & Website Design' started by daboss, Oct 19, 2006.

  1. #1
    in html, a whitespace character is equivalent to  

    what is a " character equivalent to?

    thanks for your time.
     
    daboss, Oct 19, 2006 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    T0PS3O, Oct 19, 2006 IP
    daboss likes this.
  3. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks!

    i have a html form with an input field and i want to populate it using php:

    e.g.:

    input name=fieldname type=text maxlength=100 size=20 value="<?php echo stripslashes($_POST['variable']) ?>">
    Code (markup):
    problem is that if $_POST['variable'] is surrounded by quotes (e.g. "hello"), the form input field will be blank.

    anyone know how to solve this?
     
    daboss, Oct 19, 2006 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
  5. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #5
    excellent!!! that did the job... :D
     
    daboss, Oct 19, 2006 IP