Error el buscar.php

From: Date: Wed, 12 Dec 2001 13:06:16 +0000
Subject: Error el buscar.php
Groups: php.general.es 
Request: Send a blank email to general-es+get-16619@lists.php.net to get a copy of this message
Alguien me dice que hice mal ??? Parse error: parse error in c:\home\www\buscador\buscador.php on line 20 <!doctype html public "-//W3C//DTD HTML 4.0 //EN"> <html> <head> <title>Buscador - 0.1</title> </head> <body> <form method="GET" action="<? PHP_SELF; ?>"> <input type="text" name="search" size=25 maxlength=25> <input type="Submit" name="Submit" value="Submit"> </form> <? mysql_connect("server","root","root"); mysql_select_db("search"); $result = mysql_query ("SELECT * FROM search WHERE url LIKE '%$search%'"); while($r=mysql_fetch_array($result)) { $que=$r["categorias"]; echo $que; echo "<br>"; } else { /* Linea 20 */ echo "Nada Encontrado"; } ?> </body> </html>

« previous php.general.es (#16619) next »