Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/03/2005, 05:25
Avatar de echevemaster
echevemaster
 
Fecha de Ingreso: diciembre-2002
Ubicación: Carabobo, Venezuela
Mensajes: 84
Antigüedad: 21 años, 4 meses
Puntos: 1
No es un error en tu codigo PHP amigo, lo unico que te falta es lo siguiente:
Código PHP:
<html>
<head>
<tittle><h1><hr>
Lista de Peliculas
</h1></tittle>
</head>

<body bgcolor = "Orange">
<?

echo "<right>";
echo 
"<u><h2>Operaciones con la coleccion</h2></u>";
echo 
"<form method=\"POST\">"//Abrir la etiqueta FORM
echo "<input type = 'submit' value = 'Listado' name = 'btnListado'>";
echo 
"<br>";
echo 
"<input type = 'submit' value = 'Ordenar por Título' name = 'btnOrdenar'>";
echo 
"</form>"// Cerrar la etiqueta FORM
echo "<hr>";

/*if (isset ($_POST['btnListado'])){
echo "Has pulsado el boton listado";
}elseif (isset ($_POST['btnOrdenar'])){
echo "Has Pulsado el boton Ordenar";
}*/
if (isset($btnListado)) {
echo 
"Boton 1 pulsado";
} elseif (isset(
$btnOrdenar)) {
echo 
"Boton 2 pulsado";
}


?>
</body>
__________________
En el codigo esta la solucion, pero no la encuentro por ningun lado.