When I save into database using CActiveRecord method save it puts in the database field $ instead of $. I know that $ is the ASCI code for $ but how can I save the $ and not the ASCI code? Is there a property which needs to be set?
When I save into database using CActiveRecord method save it puts in the database field $ instead of $. I know that $ is the ASCI code for $ but how can I save the $ and not the ASCI code? Is there a property which needs to be set?
That’s strange, is not the default behavior. Maybe you have some htmlentities or you are collecting data with some wysiwyg that do this translation.
When I print the property set in object before save it shows me with $ but when I save the object in the database it displays in database with $