Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ashokabrother's avatar

not rendering html {!! $property->property_address !!} like in laravel 10, how to solve ?

When I tried to get data on the frontend, from the database, I am getting rgb:color:2:29:43 type of message in the long description. HOw to solve it ?

0 likes
14 replies
jlrdw's avatar

Can you show the code you are using? Please format it.

2 likes
ashokabrother's avatar

< ! --this one is showing error !>

    <div class="text">
        <p>{{ $blog->long_description }}</p>
    </div>
1 like
Snapey's avatar

you have marked it answered, so happy days!

2 likes
jlrdw's avatar

@ashokabrother show code of where the data comes from. And check your network tab response and request to see what is happening.

Edit:

It might help you if you take the free laravel training from this site. @jeffreyway covers crud (create, read, update, delete) operations.

2 likes
ashokabrother's avatar

@Snapey I am new to laracasts . I am from Nepal. doing laravel since last year. heard about laracast but from this morning. I knew , its very nice, its the "stackovedrflow of PHP and laravel" thank you for your ongoing help.

Snapey's avatar

what do you have in your database?

1 like
ashokabrother's avatar

@Snapey long description, that is tinymce type of html framework. Database also has funny html characters.

Snapey's avatar

@ashokabrother you database should contain the text you expect to appear when you echo it to the screen

sounds like you need to go back a stage to where you capture the data

1 like

Please or to participate in this conversation.