Ver Mensaje Individual
  #10 (permalink)  
Antiguo 25/12/2004, 21:10
eagoweb2
 
Fecha de Ingreso: septiembre-2003
Mensajes: 384
Antigüedad: 23 años, 2 meses
Puntos: 0
gracias jpinedo, por lo menos ya estoy viendo algo aunque dudo que sea eso lo k me este pasando pero bueno

me da estos Notices:

Código PHP:
Notice: Undefined variable: seccion in /mnt/hdb1/www/Gatsbydom/inc/mysql-query.php on line 4

Notice
: Undefined variable: seccion in /mnt/hdb1/www/Gatsbydom/inc/mysql-query.php on line 13

Notice
: Undefined variable: seccion in /mnt/hdb1/www/Gatsbydom/inc/mysql-query.php on line 22

Notice
: Undefined variable: seccion in /mnt/hdb1/www/Gatsbydom/inc/mysql-query.php on line 32

Notice
: Undefined variable: seccion in /mnt/hdb1/www/Gatsbydom/inc/mysql-query.php on line 40

Notice
: Undefined variable: seccion in /mnt/hdb1/www/Gatsbydom/inc/mysql-query.php on line 50

Notice
: Undefined variable: seccion in /mnt/hdb1/www/Gatsbydom/inc/mysql-query.php on line 61 
y el archivo mysql-query.php

Código PHP:
<?
/*Queries para los modulos*/
//Mod. Personal
$gat_personal = "SELECT * FROM pag1_".$prefijo." WHERE categoria = '$seccion'";

$resultado_gat_personal = mysql_query($gat_personal, $db_conn) 
        or die (
"Pregunta fallida");

$cont_personal = mysql_fetch_array($resultado_gat_personal);

//Mod. Historia

$gat_historia = "SELECT * FROM pag1_".$prefijo." WHERE categoria = '$seccion'";

$resultado_gat_historia = mysql_query($gat_historia, $db_conn) 
        or die (
"Pregunta fallida");

$cont_historia = mysql_fetch_array($resultado_gat_historia);

//Mod. Actividades

$gat_actividades = "SELECT * FROM pag1_".$prefijo." WHERE categoria = '$seccion'";

$resultado_gat_actividades = mysql_query($gat_actividades, $db_conn) 
        or die (
"Pregunta fallida");

$cont_actividades = mysql_fetch_array($resultado_gat_actividades);

 
//Mod. Eventos

$gat_eventos = "SELECT * FROM pag1_".$prefijo." WHERE categoria = '$seccion'";

$resultado_gat_eventos = mysql_query($gat_eventos, $db_conn) 
        or die (
"Pregunta fallida");

$cont_eventos = mysql_fetch_array($resultado_gat_eventos);

//Mod. Ag. Modelos
$gat_agmod = "SELECT * FROM pag1_".$prefijo." WHERE categoria = '$seccion'";

$resultado_gat_agmod = mysql_query($gat_agmod, $db_conn) 
        or die (
"Pregunta fallida");

$cont_agmod = mysql_fetch_array($resultado_gat_agmod);


//Mod. Contactenos

$gat_contact = "SELECT * FROM pag1_".$prefijo." WHERE categoria = '$seccion'";

$resultado_gat_contact = mysql_query($gat_contact, $db_conn) 
        or die (
"Pregunta fallida");

$cont_contact = mysql_fetch_array($resultado_gat_contact);