Hi All,

I came right thanks - the problem was the character set being read in
not being utf-8 a simple php mb_convert solved the problem.

Cheers
J

On Jul 15, 9:18 am, Jacques <[email protected]>
wrote:
> Hi There,
>
> I am having a problem saving html code to a MySQL field using the
> saveAll method.
>
> Basically what is happening is that only half of the html is actually
> saved at times depending on the content. At other times it works fine.
> When the body is comprised of text everything works perfectly
> everytime. This tells me that the code is in order for saving etc, the
> problem must be with certain html entities.
>
> The code is extracted from html formatted emails (body).
>
> Being new to ... wait for it ... PHP, CakePHP and MySQL this is a
> challenge as I have googled and yahood and read the manual been
> through the API code and to no avail ...
>
> Humbly I ask for any assistance that anyone may provide, I am not sure
> if I should be running a function against the html prior to saving,
> and then again possibly when I want to display it (important to note
> that I require the original html to be viewed by a user at a later
> stage)
>
> Thanks
> Jacques

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to