array:
A-B-C-D-E-F
J is the son of C. update array so:
A-B-C-J-D-E-F
how do I insert J after C in the arr
You can use the splice function:
http://php.net/manual/en/function.array-splice.php