2013-12-18 2 views

ответ

1

Попробуйте взорвать $a=explode(",","1,2,3,4");

0

Попробуйте это:

In PHP, explode function will convert string to array, If string has certain pattern. 

<?php 
     $p_list = "1,2,3,4"; 

     $noArr = explode(",", $p_list); 

     var_dump($noArr); 
?> 

You will get array with values stores in it. 
  • Благодаря
Смежные вопросы