Split text value in php

#1

I have a textbox value eg. 1234,A13 and i want to split this value to another textbox, it must display A13. Please help… thanks

#2
$v = '1234,A13';
$arr = explode (',', $v);
echo $arr[1];

https://www.php.net/manual/en/function.explode.php

1 Like