Código PHP:
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf8">
<title>UN EJEMPLO</title>
</head>
<?php
//Nos conectamos a la base de datos
$bd_host = "localhost";
$bd_usuario = "mario";
$bd_password = "1985";
$bd_base = "anime";
$conexion = mysql_connect($bd_host, $bd_usuario, $bd_password);
mysql_select_db($bd_base, $conexion);
//Convertimos los datos del formulario a cadenas.
$nombre = $_POST['nombre'];
$nombredos = $_POST['nombreact'];
$descripccion = $_POST['descripccion'];
$imagen = $_POST['imagen'];
$estado = $_POST['estado'];
$resultados=mysql_query("SELECT * FROM animes WHERE nombre LIKE '%{$nombre}%'", $conexion);
$actual=mysql_query("UPDATE anime SET
nombre='$nombre',
descripccion='$descripccion',
imagen='$imagen',
estado='$estado'
WHERE nombre='$nombredos'", $conexion);
//Mostramos el encabezado de los resultados dentro de un formulario que actualizará datos
echo"<form action=ejemplo.php method =post><table border=1 cellspacing=1 cellpadding=1>
<tr>
<td><b>NOMBRE</b></td>
<td><b>descripccion</b></td>
<td><b>imagen</b></td>
<td><b>estado</b></td>
</tr>";
//Creamos el bucle para los resultados
while($row=mysql_fetch_array($resultados)){
echo"
<form action="ejemplo.php" method ="post">
<tr>
<td><input type=text name=nombreact size=20 maxlength=30 value=$row[nombre]></td>
<td><input type=text name=dire size=20 maxlength=30 value=$row[descripccion]></td>
<td><input type=text name=tel size=20 maxlength=30 value=$row[imagen]></td>
<td><input type=text name=email size=20 maxlength=30 value=$row[estado]></td>
<td><input type=submit name=boton value=ACTUALIZAR></td>
</tr>";
}
echo"</table></form>";
//Cerramos la conexión con MySQL
mysql_close($conexion);
?>
<body>
<small>INGRESE SUS DATOS</small><br>
<form action="ejemplo.php" method ="post">
<input type="text" name="nombre" size="20" maxlength="30">
<input type="submit" name="boton" value="ENVIAR">
</form><br>
</body>
</html>