Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php value to javascript variable laravel blade

var data = {!! json_encode($passed_data_to_blade_from_controller, JSON_HEX_TAG) !!};
 
PREVIOUS NEXT
Tagged: #php #javascript #variable #laravel #blade
ADD COMMENT
Topic
Name
2+9 =