[symfony-users] Re: Howto insert a ampersand into my database using a textarea from my backend app ?

2009-07-14 Thread sd45sq5d5sqd
edit: title: Post detail fields: description: { type: input_tag, params: size=150 } title:{ type: input_tag, params: size=53 } excerpt: { type: textarea_tag, params: size=50x2 } body: { type: textarea_tag, params: size=175x

[symfony-users] Re: Howto insert a ampersand into my database using a textarea from my backend app ?

2009-07-13 Thread sd45sq5d5sqd
I tried doing it with a partial, it does not work either... On Jul 11, 6:04 pm, sd45sq5d5sqd wrote: > I just tried something like : > >     edit: >       title:          Post detail >       fields: >         description:  { type: input_tag, params: size=150 } >         title:        { type: inpu

[symfony-users] Re: Howto insert a ampersand into my database using a textarea from my backend app ?

2009-07-11 Thread sd45sq5d5sqd
I just tried something like : edit: title: Post detail fields: description: { type: input_tag, params: size=150 } title:{ type: input_tag, params: size=53 } excerpt: { type: textarea_tag, params: size=50x2 } body: { ty

[symfony-users] Re: Howto insert a ampersand into my database using a textarea from my backend app ?

2009-07-11 Thread sd45sq5d5sqd
Hi, ok, but how do you do that with the generator.yml ? JF On Jul 11, 7:30 am, Mukesh Sharma wrote: > Hi, > > Just use use htmlentities() > > like-- > > > > -- > Regards > Mukesh Sharma > > On Sat, Jul 11, 2009 at 10:46 AM, Dheeraj Kumar Aggarwal < > > dheerajcom...@gmail.com> wrote: > > Hi

[symfony-users] Re: Howto insert a ampersand into my database using a textarea from my backend app ?

2009-07-10 Thread Mukesh Sharma
Hi, Just use use htmlentities() like-- -- Regards Mukesh Sharma On Sat, Jul 11, 2009 at 10:46 AM, Dheeraj Kumar Aggarwal < dheerajcom...@gmail.com> wrote: > Hi > > use htmlentities() while displaying in the textarea. > > On Sat, Jul 11, 2009 at 1:48 AM, sd45sq5d5sqd wrote: > >> >> Commen

[symfony-users] Re: Howto insert a ampersand into my database using a textarea from my backend app ?

2009-07-10 Thread Dheeraj Kumar Aggarwal
Hi use htmlentities() while displaying in the textarea. On Sat, Jul 11, 2009 at 1:48 AM, sd45sq5d5sqd wrote: > > Comment mettre en base côté backend ces caractères ? > >* < -> "<" (lt = lower than = inférieur à = "<" ) >* > -> ">" (gt = greater than = supérieur à = ">") >* & -> "&"

[symfony-users] Re: Howto insert a ampersand into my database using a textarea from my backend app ?

2009-07-10 Thread sd45sq5d5sqd
Comment mettre en base côté backend ces caractères ? * < -> "<" (lt = lower than = inférieur à = "<" ) * > -> ">" (gt = greater than = supérieur à = ">") * & -> "&" (comme dit fraoustin - amp = ampersand) * " -> " (quot = quotation mark = quillemet) * ' -> ' (apos = apostrophe

[symfony-users] Re: Howto insert a ampersand into my database using a textarea from my backend app ?

2009-07-10 Thread sd45sq5d5sqd
I have added : public function __toString() { return $this->getTaggedTitle(); } in my model class Post, and that's it. On 10 juil, 20:22, sd45sq5d5sqd wrote: > Hi, > > I have a backend app with a "post" module to admin. > > This "post" module contains a textearea for the "body" part o