Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Notice: Array to string conversion php

// Use json_encode to collapse the array to json string:
$stuff = array(1,2,3);
print json_encode($stuff);   //Prints [1,2,3]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Array #string #conversion #php
ADD COMMENT
Topic
Name
3+2 =