fork(1) download
  1. <?php
  2.  
  3. $sValueFromDb = 'UAB "Litofc&#371; kontora"';
  4. $sInputValue = str_replace('"', '&quot;', $sValueFromDb);
  5. echo '<input type="text" value="' . $sInputValue . '">';
  6.  
  7. ?>
Success #stdin #stdout 0.02s 13112KB
stdin
Standard input is empty
stdout
<input type="text" value="UAB &quot;Litofc&#371; kontora&quot;">