Joepiooo1988 Posted June 13, 2012 Share Posted June 13, 2012 Hello, I have a CMS system and when I add text something like this: 15" Wheel. He insert it correct in the database but after he insterted it he updates automatic and then the only thing I see is : 15. The rest is gone... Can somebody help me out? Here is my code <td>Maat</td> <td><input type="text" name="aanbieding_maat" value="<?php echo ((is_array($aanbiedingen)) ? $aanbiedingen[0]->aanbieding_maat : ""); ?>"/></td> </tr> The insert is good but he doesnt read the ".... Tnx for any help Quote Link to comment https://forums.phpfreaks.com/topic/264091-read-data-with-double-quotes-from-mysql-database/ Share on other sites More sharing options...
abdfahim Posted June 13, 2012 Share Posted June 13, 2012 During inserting, you should do like this if(!get_magic_quotes_gpc()){ $name = addslashes($name); } Quote Link to comment https://forums.phpfreaks.com/topic/264091-read-data-with-double-quotes-from-mysql-database/#findComment-1353431 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.