尝试:
$myString = "9,admin@example.com,8";$myArray = explode(',', $myString);print_r($myArray);
输出:
Array( [0] => 9 [1] => admin@example.com [2] => 8)
欢迎分享,转载请注明来源:内存溢出
尝试:
$myString = "9,admin@example.com,8";$myArray = explode(',', $myString);print_r($myArray);
输出:
Array( [0] => 9 [1] => admin@example.com [2] => 8)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)