Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php implode as key value of object

$output = implode(', ', array_map(
    function ($v, $k) { return sprintf("%s='%s'", $k, $v); },
    $input,
    array_keys($input)
));
Source by www.thetopsites.net #
 
PREVIOUS NEXT
Tagged: #php #implode #key #object
ADD COMMENT
Topic
Name
7+7 =