In this array I have user with her ID:
$data = array( 'USER : Alex K. id:1', 'USER : Robert K. id:2');
The name on the id 1 is "Alex K." and on the id 2 is
foreach ( $data as $string )
{
$_a = explode( ':', $string );
$_b = explode( ' ', $_a[1] );
$inf[$_a[2]] = $_b[1];
}
If i use print_r( $inf[ID] ); for example print_r( $inf[2] ); this show me only "Robert" but no "Robert K.";
I try with print_r( $_b ); and I get all data buy I donw know how print the complete name.
Someone know how do it?