convoco a los mejores programadores para resolver mi sistema de libros ya no puedomas
que tal amigos , la verdad no osy bueno programando. pero necesito acabar este sistemas.
ya casi lo tengo terminado solo me falta queme muestre los resultados de mi consulta pero nada ayuda les paso el codigo
-------------------------------busqueda--------------------------
Código php:
Ver original<?php
$sSQL="Select Area From contenido Order By Area";
?>
<option value="<?php echo $row["Area"];?>" selected><?php echo $row["Area"];?>
</option>
<?php } ?>
----------------resultados------------------------------------
<?php
$var1=$_POST["textobusqueda"];
$Area=$_POST["Area"];
$radio= $_POST["tipo"];
$resp=$_POST["respuesta"];
if ($radio == "AUTOR" AND $resp=="SI")
$result = "SELECT * FROM Area,Clave,Autor ,Titulo,LugardeEdicion ,Editorial ,AñodeEdicion,NumerodePaginas,Contenido,Edicion from WHERE AUTOR='$radio' AND Area='$Area'";
$result= mysql_db_query ("contenido","select Area,Clave,Autor ,Titulo,LugardeEdicion ,Editorial ,AñodeEdicion,NumerodePaginas,Contenido,Edicion from Contenido where AUTOR='$radio' AND Area='$Area'");
if ($radio == "AUTOR" AND $resp=="NO")
$result=mysql_select_db("contenido","select Area,Clave,Autor ,Titulo,LugardeEdicion ,Editorial ,AñodeEdicion,NumerodePaginas,Contenido,Edicion from Contenido where AUTOR='$radio' AND Area='$var1'");
if ($radio == "TITULO" AND $resp=="SI")
$result=mysql_select_db("contenido","select Area,Clave,Autor ,Titulo,LugardeEdicion ,Editorial ,AñodeEdicion,NumerodePaginas,Contenido,Edicion from Contenido where TITULO='$radio' AND Area='$Area'");
if ($radio == "TITULO" AND $resp=="NO")
$result=mysql_select_db("contenido","select Area,Clave,Autor ,Titulo,LugardeEdicion ,Editorial ,AñodeEdicion,NumerodePaginas,Contenido,Edicion from Contenido where TITULO='$radio' AND Area='$Var1'");
if ($radio == "CLAVE" AND $resp=="SI")
$result=mysql_select_db("contenido","select Area,Clave,Autor ,Titulo,LugardeEdicion ,Editorial ,AñodeEdicion,NumerodePaginas,Contenido,Edicion from Contenido where CLAVE='$radio' AND Area='$Area'");
if ($radio == "CLAVE" AND $resp=="NO")
$result=mysql_select_db("contenido","select Area,Clave,Autor ,Titulo,LugardeEdicion ,Editorial ,AñodeEdicion,NumerodePaginas,Contenido,Edicion from Contenido where CLAVE='$radio' AND Area='$Var1'");
?>
<?PHP
{
?>
<td height="99"><span class="Estilo11"><FONT COLOR=BLUE><?PHP echo $row["Clave"]; ?> </td>
<td><span class="Estilo11"><FONT COLOR=BLUE> <?PHP echo $row["Autor"]; ?> </td>
<td><span class="Estilo11"><FONT COLOR=BLUE> <?PHP echo $row["Titulo"]; ?></td>
<td><span class="Estilo11"><FONT COLOR=BLUE> <?PHP echo $row["LugardeEdicion"]; ?></td>
<td><span class="Estilo11"><FONT COLOR=BLUE> <?PHP echo $row["Editorial"]; ?></td>
<td><span class="Estilo11"><FONT COLOR=BLUE><?PHP echo $row["AñodeEdicion"]; ?></td>
<td colspan="3"><span class="Estilo11"><FONT COLOR=BLUE> <?PHP echo $row["NumerodePaginas"]; ?></td>
<td width="84"><span class="Estilo11"><FONT COLOR=BLUE><?PHP echo $row["contenido"]; ?></td>
<td width="60"><span class="Estilo11"><FONT COLOR=BLUE> <?PHP echo $row["Edicion"]; ?></td>
</TR>
<?PHP
}
?>