Ver Mensaje Individual
  #7 (permalink)  
Antiguo 04/01/2010, 11:38
Avatar de TKZeXe
TKZeXe
 
Fecha de Ingreso: diciembre-2009
Ubicación: Flowers
Mensajes: 166
Antigüedad: 14 años, 4 meses
Puntos: 6
Respuesta: ayuda con Select concat

La ultima ayuda ya que tenias errores demasiado basicos,

mejor lee un poco mas sobre html.

Código PHP:
Ver original
  1. $chars=30; //numero de caracteres
  2. $sSQL="Select rfc,nombre as rfc From agent_vtas order by rfc asc";
  3.                   $result=mysql_query($sSQL);
  4.                    echo "<select name='rfc' onChange='submit()' >";    
  5.                   while ($row=mysql_fetch_array($result))
  6.                   {echo '<option value='.$row[0].'>' .mostrar_pnt(array($chars,$row[0],$row[1])).'</option>';}    
  7.                   mysql_free_result($result);