Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel 8 array to json

<script>
	var js_json_object = @json($php_array ?? '');
</scritp>
 
PREVIOUS NEXT
Tagged: #laravel #array #json
ADD COMMENT
Topic
Name
2+9 =