变量如何转换成数组里面的内容

WBOY
Release: 2016-06-13 12:37:05
Original
953 people have browsed it

变量怎么转换成数组里面的内容
$contt='"1","2","3","4"';
session_start();
$ar=array(
$contt
);
$an=array(
"1",
"2",
"3",
"4",
);

$contt要用什么函数进行转换呢?ar和an才会是一样的。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!