What you are asking are basic skills involved in web development, and not
anything related to symfony specifically. Therefore there are many ways to
skin this cat:

1. How about instead of storing "Foo Bar FooBar" store "Foo<br />Bar<br
/>FooBar<br />"
2. In your template file you can use:
    <?php echo str_replace( " ", "<br />", $indirizzo); ?>
which will replace all spaces (" ") with line-breaks (<br />)
3. Any other number of ways to format html code that someone can come up
with.

At the risk of sounding cruel, you should perhaps try to learn more about
PHP (or web development in general) before diving into symfony. This is
meant as constructive criticism, so take as you see fit.


On Wed, Oct 6, 2010 at 3:45 PM, Javier Garci <[email protected]> wrote:

>  Hi,
>
> I have this:
>
>
> SediI18n:
>  XXXXXX:   { id: sede_foo_1, culture: it, paese_indirizzo: it, ufficio:
> "Ufficio di XXX 1", indirizzo: "Foo Bar FooBar" }
>
> Now, when i prints this register the field "indirizzo":
>
> Foo Bar FooBar
>
> Everything is in one line.
>
> Any way to write the value of "indirizzo" to print directly in my web page
> something like this below?
>
> Foo
> Bar
> FooBar
>
> Javi
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" 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/symfony-users?hl=en

Reply via email to