Level 1
By blade, I believe you are talking about Laravel. If so,
id = "{{ $var }}"
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
hi u all! i want to get php variable inside a html tag attribute id="$phpvar ", and iside getelementById("phpvar") how do we do that in blade?
Please or to participate in this conversation.