Foros del Web » Programación para mayores de 30 ;) » Java »

Auxilio necesito una funcion o algo

Estas en el tema de Auxilio necesito una funcion o algo en el foro de Java en Foros del Web. TENGO UN CODIGO EN PHP DONDE TRABAJO CON UNA FUNCION QUE ME MUESTRA UN LISTBOX CON LOS NUMEROS DE CEDULA O IDENTIFICACION PERSONAL, PERO QUIERO ...
  #1 (permalink)  
Antiguo 17/05/2012, 22:33
Avatar de siudymar  
Fecha de Ingreso: abril-2011
Ubicación: venezuela
Mensajes: 4
Antigüedad: 13 años
Puntos: 0
Pregunta Auxilio necesito una funcion o algo


TENGO UN CODIGO EN PHP DONDE TRABAJO CON UNA FUNCION QUE ME MUESTRA UN LISTBOX CON LOS NUMEROS DE CEDULA O IDENTIFICACION PERSONAL, PERO QUIERO QUE ME GENERE LOS NOMBRES Y APELLIDOS PERTENECIENTES A ESOS NUMERO SE QUE ES CON JAVA PERO NO TENGO IDEA DE COMO HACERLO!!!
LES DEJO EL CODIGO PHP

<td width="16%">
C&eacute;dula de Identidad
</td>

<td width="25%">
<?php
$sql = "SELECT id_beneficiario, cedula_beneficiario
FROM beneficiario ORDER BY cedula_beneficiario";


if ( ( $accion == "detalle" ) ){

ListboxIdSoloLectura($conexion,$sql,"lst_id_benefi ciario","",$idbeneficiario,1,"lst_id_beneficiario" );
}



if ( $accion == "agregar" OR
( ( $accion == "guardar") AND $err) OR
( $accion == "modificar" ) OR
( $accion == "modificar-guardar" ) ){

ListboxId($conexion,$sql,"lst_id_oficio","",$id_of icio,1,"lst_id_oficio");
}

?> </td>

<td width="8%">&nbsp;</td>
<td width="8%">Nombres </td>

<td width="43%"><?php

$sql="SELECT nombre_beneficiario FROM beneficiario ORDER BY cedula_beneficiario";

if ( ( $accion == "detalle" ) OR
( $accion == "modificar" ) OR
( $accion == "modificar-guardar" ) )
{
TextLectura("text", "txt_nombre_beneficiario",38,$nombrebeneficiario," ","");

}

if ( $accion == "agregar" OR
( ( $accion == "guardar") AND $err) ){
Text("text","txt_nombre_beneficiario",38,800,$nomb rebeneficiario,"","");
}
?>
</td>
</tr>
<tr class="CELDA3">
<td width="25%">
Apellido
</td>

<td colspan="4" width="25%">

<?php
$sql="select apellido_beneficiario,
FROM beneficiario
ORDER BY id_beneficiario";

if ( ( $accion == "detalle" ) OR
( $accion == "modificar" ) OR
( $accion == "modificar-guardar" ) )
{
Textsololectura("text","txt_apellido_beneficiario" ,38,$apellidobeneficiario,"","");

}

if ( $accion == "agregar" OR
( ( $accion == "guardar") AND $err) ){
Text("text","txt_apellido_beneficiario",38,800,$ap ellidobeneficiario, "","");
}
?>
</td>
  #2 (permalink)  
Antiguo 18/05/2012, 02:56
 
Fecha de Ingreso: mayo-2012
Mensajes: 61
Antigüedad: 12 años
Puntos: 23
Respuesta: Auxilio necesito una funcion o algo

Como que sabes que es con java pero está hecho en PHP ?.
no me entere de nada, trata explicar un poco mejor tu problema.

Java y PHP son lenguajes diferentes.

Saludos!

Etiquetas: auxilio, funcion
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:48.