passing " in html value
I've a variable like:
<?php
$val = 'abc"def\'ad';
?>
my html is like:
<input type="text" value="<?php echo $val; ?>" name="xyz" />
But the input can't show all the text because having "/' is in the middle
of them. But I need the text field to show abc"def'ad . Any idea how to do
it using HTML (not js)?
No comments:
Post a Comment