PHP help
PHP help
Out of context: Reply #3
- Started
- Last post
- 13 Responses
- MrDaro0
yeah, $arraylist is a comma delimited list of numbers that the user inputs, it can be one or more numbers.
what doesn't work is is a function in which I use the variable $my_array.
$my_array = array($arraylist); does not work in my function
if I use the actual text that a use might input makes the function work. eg.
$my_array = array(2,3,9);