Hello, > 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)
What kind of field are you using to store HTML? Regards, Piotr --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
