brem13 Posted August 4, 2010 Share Posted August 4, 2010 hey, im trying to show data in a text box thats being retrived from a database, but if there is a ' in it, it will only show the text up to that point. (ie. if it has "You're" it will only show "You") here is the code im using echo "<input type='text' value='$picComment'>"; Link to comment https://forums.phpfreaks.com/topic/209825-problem-with-displaying-in-textbox/ Share on other sites More sharing options...
Zane Posted August 4, 2010 Share Posted August 4, 2010 you need double quotes instead of single quotes echo ""; Link to comment https://forums.phpfreaks.com/topic/209825-problem-with-displaying-in-textbox/#findComment-1095260 Share on other sites More sharing options...
brem13 Posted August 4, 2010 Author Share Posted August 4, 2010 thanks bud! Link to comment https://forums.phpfreaks.com/topic/209825-problem-with-displaying-in-textbox/#findComment-1095264 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.