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'>"; Quote 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 ""; Quote 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! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.