Help for this page

Select Code to Download


  1. or download this
    print "<input name='anyname' value=abc def>";
    
  2. or download this
    <input name='anyname' value=abc (and some other 
    attribute, def, that I don't recognize and which 
    does not have a value, so I'll ignore it)>
    
  3. or download this
    $v = "abc def";
    # $v only contains abc def not "abc def"
    
    $html = qq(<input name="anyname" value="$v">);
    
  4. or download this
    $v = qq("abc def");
    # $v now contains <i>"abc def"</i>
    ...
    # you could also do it like this:
    $c = qq("abc def");
    $html = qq(<input name="anyname" value=$c>);