Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/06/2007, 12:10
morphoide
 
Fecha de Ingreso: mayo-2005
Mensajes: 103
Antigüedad: 19 años
Puntos: 1
Re: retornar valor de funcion sin "return"

function oculto() {
global $contador;
// abrimos
$cuerpo.= '<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col">';
// recorremos
for ($i=0;$i<$contador;$i++){
$var[$i]=$_POST[$i+1];
$cuerpo.= $var[$i];
}
// cerramos
$cuerpo.='</th>
</tr>
</table>';
} // fin funcion


-----------

por ejemplo