aqui esta el form
Código HTML:
Ver original
y aqui resultado.php(solo la parte php xD)
Código PHP:
Ver original
<?php $Nombre=$_POST['Nombre']; $sql = "SELECT * FROM Juegos Where Nombre LIKE '%$Nombre%' LIMIT 10"; //Conexion con la base //$info=mysql_query("$sql",$link); //$my_error = mysql_error($link); if($datos){ $Nombre= $datos['Nombre']; $ID= $datos['ID']; $Imagen= $datos['Imagen']; echo ' <style type="text/css"> div#juego {background:url(/Imagenes/Fondo-todo.jpg);margin:0 auto;padding:0;width:200px;border-radius:7px;-moz-border-radius: 7px; -webkit-border-radius : 7px;} div#juego p {margin:0;padding:10px;color:#fff;} </style> <div id="juego" style="float:center" '.$AntiPaste.'> <p> <table> <tr> <td><a href="/Jugar/'.$ID.'" ><img src="'.$Imagen.'" width="75" height="75" alt="" /></td> <td><a href="/Jugar/'.$ID.'" ><p align="center"><b>'.$Nombre.'</b> </td> </tr> </table> </p> </div> <br> '; } ?>