Sbagli nel concatenare nell'echo
Codice PHP:
echo '<img src="'.$glob[$random]. '"/><img src="' .$glob[($random+1)] .'"/>'