Re: Not able to save HTML tags to mysql database.

2009-07-02 Thread Sridhar Gowda

Any body have come across this type of issue?
My problem is not yet solved.

On Jun 5, 5:31 pm, Sridhar Kuppalli 
wrote:
> Hi
> I have pasted the model  code inhttp://bin.cakephp.org/view/36911942
> For normal text everything is working fine. Even the flash message is also
> getting displayed.
> When you submit any HTML content its going out of /admins/update_article to
> sites root ! No error message no flash message
> _
> Thanks & Regards
> Sridhar K N
>
> On Fri, Jun 5, 2009 at 12:52 PM, fain182  wrote:
>
> > > Strange thing is that when i enter any normal text like "Lorem ipsum"
> > > it is getting saved.
> > > When i edit this recode and replace the content with any html tag and
> > > click on submit, its going to sites, index, not even showing whats the
> > > error is 
> > but the flash message is showed? if it is showed, save() return success..
> > you can't put html in only Articles or in other controller too?
> > cany you put on cakebin the code of your model?
> > --
> > pietro
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Not able to save HTML tags to mysql database.

2009-06-05 Thread Sridhar Kuppalli
Hi
I have pasted the model  code in http://bin.cakephp.org/view/36911942
For normal text everything is working fine. Even the flash message is also
getting displayed.
When you submit any HTML content its going out of /admins/update_article to
sites root ! No error message no flash message
_
Thanks & Regards
Sridhar K N


On Fri, Jun 5, 2009 at 12:52 PM, fain182  wrote:

>
> > Strange thing is that when i enter any normal text like "Lorem ipsum"
> > it is getting saved.
> > When i edit this recode and replace the content with any html tag and
> > click on submit, its going to sites, index, not even showing whats the
> > error is 
> but the flash message is showed? if it is showed, save() return success..
> you can't put html in only Articles or in other controller too?
> cany you put on cakebin the code of your model?
> --
> pietro
>
> >
>

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Not able to save HTML tags to mysql database.

2009-06-05 Thread fain182

> Strange thing is that when i enter any normal text like "Lorem ipsum"
> it is getting saved.
> When i edit this recode and replace the content with any html tag and
> click on submit, its going to sites, index, not even showing whats the
> error is 
but the flash message is showed? if it is showed, save() return success..
you can't put html in only Articles or in other controller too?
cany you put on cakebin the code of your model?
-- 
pietro

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Not able to save HTML tags to mysql database.

2009-06-04 Thread Sridhar Kuppalli
Hi all,

I have pasted here.
http://bin.cakephp.org/view/2123704404
_
Thanks & Regards
Sridhar K N


On Thu, Jun 4, 2009 at 8:47 PM, Sridhar Gowda wrote:

>
> No :(
>
> I have used sanitize, but no use.
> I have used phpaddslashes() function still no use.
>
> Strange thing is that when i enter any normal text like "Lorem ipsum"
> it is getting saved.
> When i edit this recode and replace the content with any html tag and
> click on submit, its going to sites, index, not even showing whats the
> error is 
>
> Please help me with this.
>
> Thanks & Regards
> Sridhar
>
> On Jun 1, 2:22 am, fain182  wrote:
> > maybe because you sanitize input ?http://book.cakephp.org/view/462/html
> >
> > --
> > pietro
> >
>

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Not able to save HTML tags to mysql database.

2009-06-04 Thread fain182

do you use validation in your model?
maybe post your controller code in http://bin.cakephp.org/

-- 
pietro

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Not able to save HTML tags to mysql database.

2009-06-04 Thread Sridhar Gowda

No :(

I have used sanitize, but no use.
I have used phpaddslashes() function still no use.

Strange thing is that when i enter any normal text like "Lorem ipsum"
it is getting saved.
When i edit this recode and replace the content with any html tag and
click on submit, its going to sites, index, not even showing whats the
error is 

Please help me with this.

Thanks & Regards
Sridhar

On Jun 1, 2:22 am, fain182  wrote:
> maybe because you sanitize input ?http://book.cakephp.org/view/462/html
>
> --
> pietro
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Not able to save HTML tags to mysql database.

2009-05-31 Thread fain182

maybe because you sanitize input ?
http://book.cakephp.org/view/462/html

-- 
pietro

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Not able to save HTML tags to mysql database.

2009-05-31 Thread Sridhar Gowda

Hi,

I have form where the site admin create articles.
While creating the article for links he is using google , But this is not getting saved in my database.

When i click on save, it is not throwing any error also.
Normal text is getting saved.
database filed's type is "TEXT" in mysql db.

Please let me know what needs to be done for this

Thanks & Regards
Sridhar k N
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---