hola a todos tengo un problema con este codigo php
Código PHP:
<?php
if (!defined('IN_MEDIA')) die("Hack");
function players($url,$type,$width,$height){
global $web_link;
$url = get_link_total($url);
elseif ($type==9) $player = "<iframe src=\"http://vkontakte.ru/video_ext.php?oid=$url\" height=\"$height\" width=\"$width\" border=0 frameborder=0 scrolling=no></iframe>";
return $player;
}
?>
cuando abro en el explorador me dice Parse error: syntax error, unexpected T_ELSEIF in C:\AppServ\www\at\inc\_players.php on line 6
si alguien me pudiera ayudar