Does anyone know a php code for width and height? I'm trying to make an video page for iframe embed, I'm trying to make it like this myspace.php?id=[video id]&w=[width]&h=[height] I already know the php code for video id. I need to know what the code for width and height can someone help me?
Take $_GET['w'] and $_GET['h'] and add it to your iframe. For instance, <iframe src="http://website.com/" height="<? echo $_GET['h']; ?>px" width="<?php echo $_GET['w']; ?>px"></iframe> Do not forget to take only the integers of these GET values.