Perdona , he podido ver el html detenidamente
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="shortcut icon" href="img/favicon.ico" /> <title>Alquiler de autos en Iguazu - Forest Rent a Car
</title> <link href="estilos.css" rel="stylesheet" type="text/css" /> <div class="contenedortop"></div> <div class="header"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="/estilos.css" rel="stylesheet" type="text/css" /> <body> <!-- En esta parte abres el body --> </body> <!-- Pero aqui lo cierras --> </html> <!-- Y aqui cierras el documento --> <img src="img/header/header4.png" alt="header" /></div> <div class="contenedorbottom"></div> <div class="fondobottom"></div>
Como te dije al archivo que contiene el script solo dejale
Código PHP:
Ver original<?php
$img[] = '<img src="img/header/header.png" alt="header" />';
$img[] = '<img src="img/header/header2.png" alt="header" />';
$img[] = '<img src="img/header/header3.png" alt="header" />';
$img[] = '<img src="img/header/header4.png" alt="header" />';
$sec = $img[$random];
?>
Y te aseguro que la validacion sera correcta.