Hey guys I’m new in php and I’m trying to store the numbers from a input into a string, something like this.
let’s say that the input stores the number 1234:
$input = 1234;
So I wan’t to store a single digit and not the whole number in the array like:
$arr[0] = 1;
$arr[1] = 2;
$arr[2] = 3;
...
How can I do that?
http://www.php.net/manual/en/function.str-split.php
String split