Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/04/2008, 12:10
invenible
 
Fecha de Ingreso: marzo-2008
Mensajes: 77
Antigüedad: 16 años, 2 meses
Puntos: 0
Exclamación ayuda plissss con el siguiente codigo

tengo el siguiente codigo:
Código PHP:
<?php 
    $db 
mysql_connect("localhost","root"); 
    
mysql_select_db("confirmacion",$db); 
    
$texto_consulta "SELECT * FROM ejecutivo"
    
$consulta mysql_query($texto_consulta); 
    
$html "<html><head><title>Herramienta de Confirmacion</title></head><body>"
    
$html $html.""
    
$html.= "<table border = 1><tr><td style='font-weight:bold;'>idejecutivo</td></tr>"
    
$cuantos mysql_num_rows($consulta); 
    for(
$i=0;$i<$cuantos;$i++) 
    { 
          
$arreglo_temporal mysql_fetch_row($consulta); 
          
$html.="<tr><td>".$arreglo_temporal[1]."</td></tr>"
    } 
    
$html.= "</table></body></html>"
                echo 
$html;  
     
?>
lo ke rekiero es ke el campo "$arreglo_temporal[1]" sea un link y cuando se de click me despliegue en otra tabla diferente el nombre del ejecutivo pero ke lo despliegue en la misma pagina
pregunte en ph pero me mandaron para ajax

por favor ayuda
de antemano gracias y saludos