Why can't I access the elements in the array returned by explode() ?
For example, this does not work:
$username = explode('.',$thread_user)[1];
But this code does:
$username = explode('.',$thread_user); $username = $username[1];
I usually do not program in PHP, so this is pretty confusing for me.
arrays php explode
Mike atlas
source share