Re: TRouble with quotes and double quotes
Posted: Mon Jan 27, 2014 10:21 pm
Do you have it solved?
The result I have from your script is:
I'm not sure what your intended result is but I can not see where the [name=it's 1".] should be used. What is this scripts purpose? Is the result [name=it's 1".] a statement to the user? What should this script do and the exact result you need?
I see your use of htmlspecialchars() but I do not see why its being used for this instance, if there is only 1 value to convert you can just exchange the known value, so I'm not seeing what it is you are trying to do in this instance. More details please and I will help you figure it out.
The result I have from your script is:
Code: Select all
<form action="test.php" method="post">
name=it's 1".<br><input type="submit" name="go" value="Submit">
</form>I see your use of htmlspecialchars() but I do not see why its being used for this instance, if there is only 1 value to convert you can just exchange the known value, so I'm not seeing what it is you are trying to do in this instance. More details please and I will help you figure it out.