Forum Moderators: coopster
It works great unless it has quotes. For example
<input type="text" value="<?php echo stripslashes($row['text_feild'])?>" />
Anything in quotes dissapears, which is weird because stripslashes($row['text_feild']) works fine every where else (outside of a text feild.
Any ideas?
<input type="text" value="<?php echo htmlspecialchars(stripslashes($row['text_feild']))?>" />
There is a second (optional) argument dealing with quotes. Check the manual link above.