Ver Mensaje Individual
  #11 (permalink)  
Antiguo 04/07/2008, 08:11
Avatar de hawaiian050
hawaiian050
 
Fecha de Ingreso: junio-2007
Mensajes: 285
Antigüedad: 19 años, 3 meses
Puntos: 2
Respuesta: AYUDA - Undefined en accion y variable . Causas desconocidas

ahora no me da error alguno pero no funciona ??!! y el print dice : Array ( )

Código PHP:
print_r($_GET); 
ob_start(); // no actua ??  
if(isset($_GET['action']) && $_GET['action'] == "simulation") {  
$sim->simulation_search($_POST['input']); 
}   


$smarty -> display($cfg->template.'head.tpl'); 


// show index 
if(empty($_GET['video']) && empty($_GET['video_id'])) { 
$_GET['video'] = $sim->random_index(); 
} 


function 
generate_tags($how_much) { 
$this->results = mysql_query("SELECT * FROM `tags` order by rand() LIMIT $how_much"); 
$tag = ""; 
while(
$this->q=mysql_fetch_array ($this->results)) { 
$tag .= $this->q['tag'].'||'; 
} 
$tag = explode('||', $tag, -1);  
$tag = str_replace('+', ' ', $tag); 
return 
$tag; 
} 

Tengo mal esto ob_start(); // no actua ?? ???

Última edición por hawaiian050; 04/07/2008 a las 08:17