Hola intento utilizar un buscador interno solo que no me funciona no se si puedas ayudarme , gracias...
este es mi codigo con Get jalo los campos de los textbox
el nombre de mi boton es search.
cual sera el error.?
gracias..
<?
$fname=$_GET['fname'];
$lname=$_GET['lname'];
$mail=$_GET['mail'];
$phone=$_GET['phone'];
if ($_GET[search]) {
if ($buscar==""){ echo" ";}
else{
include ('../include/conexion.php');
$db=mysql_select_db($base,$conexion);
echo" $fname";
$sql5="SELECT * FROM customer where (first_name like '$fname' or
last_name like '%$lname%'or email like '%$mail%'or phone like'%$phone%')";
$result5=mysql_query($sql5,$conexion);
while ($fila=mysql_fetch_array($result5)){
echo"<tr >";
echo"<td bgcolor=#CCCCCC>","</td>";
echo"<td align=\"left\" bgcolor=#CCCCCC > <font size=2 color= \"#003366\">", "<a href='customer_edit.php?idcustomer=".$fila[id]."'>",$fila['first_name'] ,"</a>","</td>";
echo"<td align=\"left\" bgcolor=#CCCCCC> <font size=2 color= \"#003366\">", $fila['last_name'],"</td>";
echo"<td align=\"left\" bgcolor=#CCCCCC> <font size=2 color= \"#003366\">", $fila['email'],"</td>";
echo"<td align=\"left\" bgcolor=#CCCCCC > <font size=2 color= \"#003366\">", $fila['phone'],"</td>";