Yasser Moussa Yasser Moussa - 1 year ago 65
PHP Question

Blade is outputting URL encoded characters instead of evaluating inside curly braces

I have a link and i used

method but it doesn't get processed to output the link it output a string

<a href="{{ route('admin.index') }}">Dashboard</a>

The result


Answer Source

%20%7D%7D means PHP converts {{ }} characters to HTML entities. It seems you don't use .blade.php naming or do something like this. If renaming template won't help, please update your answer with full template contents.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download