Wednesday, October 1, 2008

Re: Major Pain - retrieved data

Are you adding excess slashes when they go into the database?
Take a look at the raw database output to see if you are in fact
storing too much escaping.

SELECT * FROM `mytable`;

Inspect the output, and reply here if you need help.

Cheers.

On Oct 2, 7:15 am, seanislegend <boredofm...@googlemail.com> wrote:
> Hi,
>
> in the data I'm retrieving from my DB I'm still getting slashes in
> front of quotes. I've been told before that Cake should strip these
> automagically, but apparently not.
>
> I'm still none-the-wiser as to what I can do for this problem. At the
> moment I'm using a custom function on each part of the array I need
> 'cleaned'. Obviously this is not the best way to do this, and I'd
> rather not.
>
> Can anyone offer any suggestions?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: