Hi. There is a function that lets you print quotes in a textbox without it messing up the html. Anyone know what it's called?
Not add or strip slashes. It is something that makes the browser know it's not html code but just text.
For instance i have this code <input name="txtYear" type="text" id="txtYear" size="4" maxlength="4" Value="<?php print $ResultArray[Customer]; ?>">
But it comes out all messed up if the text printed to it has Double Quotes. like "George Carlin" for example. It's fine with single quotes.
Thanks!😃