Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/04/2007, 09:35
UkySoft
 
Fecha de Ingreso: febrero-2007
Mensajes: 80
Antigüedad: 17 años, 3 meses
Puntos: 0
Re: Noticias PHP sin mysql

Hola mira sinceramente, te comento mediante el sistema que lo haces no es muy fiable yo te aconsejo que te busques uno con mysql y despues si quieres ahora te dejo el codigo para que puedas hacer la busqueda desde mysql.

Aqui tienes el codigo:

<?php
include("conect_DB_ukysoft.php");
if($_GET['search']){
$noticia = $_GET['noticia'];
$query = @mysql_query("SELECT * FROM `TU_DB WHERE titulo = '$noticia'");
$data = @mysql_fetch_array($query);
?>
<form method="GET" action="">Titulo: <input type="text" name="noticia" size="20"><input type="submit" value="Buscar" name="search"></form>
<?
}
?>

Un saludo!
Juanjo de Uky Soft, SL