Help reviving an old script?

<iframe 
        src="http://player.twitch.tv/?channel='.$channel.'" 
        height="720" ...

$channel is undefined. I think you’re looking for $name.