Hi guys,
I mockup this data for save:
'Banner' => array(
'title' => 'Test',
'link' => 'test',
'content' => '<div class="banner-content">
<div class="container">
<figure>
<img src="img/banner/desconto-10-novo.jpg"
width="1000" height="292" alt="">
</figure>
</div>
</div>',
'start' => '2014-12-15',
'expires' => '',
'position' => '1',
'active' => '1'
)
My problem happens after save, the content field in database:
'<div class=\"banner-content\">\n <div
class=\"container\">\n <figure>\n
<img src=\"img/banner/desconto-10-novo.jpg\" width=\"1000\"
height=\"292\" alt=\"\">\n </figure>\n
</div>\n </div>'
I don't want escape only content field, i want save equal (===) to mockup
data, any solutions? Thanks.
--
Regards,
Rafael F. Queiroz
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.