Answers for "get data separated with comma and explode from php"

PHP
8

explode comma php

$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);
Posted by: Guest on April-17-2020
4

array to string separated by comma php

$arr = array ( 0 => "lorem", 1 => "ipsum", 2 => "dolor");

$str = implode (", ", $arr);
Posted by: Guest on September-22-2020

Code answers related to "get data separated with comma and explode from php"

Browse Popular Code Answers by Language