I’m having trouble getting the record id encrypted in the url. The error is Unclosed '(' does not match '}'
.
action="{{ url("delete/$hxh->{{Crypt::encrypt('id')}}") }}"
href="{{ url("update/$hxh->{{Crypt::encrypt('id')}}") }}"
How do I correctly resolve this in blade.
2
Answers
The syntax highlighting in your question shows the issue.
You need to escape your quotes: