AYUDA!!!!

From: Date: Tue, 09 Oct 2001 17:58:14 +0000
Subject: AYUDA!!!!
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-14645@lists.php.net to get a copy of this message
Miren esto... Tengo el siguiente problema, cuando me devuelve la variable $que_busco en la pantalla, pone "enters" entre los tres datos... COMO HAGO PARA QUE DESAPAREZCAN ESTOS ENTERS..? ?? POR FAVOR, AYUDENME, es muy urgente...!!! Probé de mil formas distintas y no me sale.... Gracias, Francisco --------------------- $Universidad=$FORM{'Universidad'}-1; $Facultad=$FORM{'Facultad'}-1; $Materia=$FORM{'Materia'}-1; print "Content-type: text/html\n\n"; open(Univ, $Universidades); # Open the file @Uni = <Univ>; # Read it into an array close(Univ); # Close the file open(Facult, $Facultades); # Open the file @Facu = <Facult>; # Read it into an array close(Facult); # Close the file open(Mater, $Materias); # Open the file @Mat = <Mater>; # Read it into an array close(Mater); # Close the file $Valor_Uni = $Uni[$Universidad]; $Valor_Facu = $Facu[$Facultad]; $Valor_Mate = $Mat[$Materia]; chop($Valor_Uni); chop($Valor_Facu); chop($Valor_Mate); print "$Universidad es $Uni[$Universidad]<br>\n"; print "$Facultad es $Facu[$Facultad]<br>\n"; print "$Materia es $Mat[$Materia]<br>\n"; $que_busco = "$Valor_Uni$Valor_Facu$Valor_Mate"; print "$que_busco"; ------------------------------------------------------------ Francisco Mosse - http://www.alipso.com División de Internet Alfa y Omega S.R.L. http://www.alfa-y-omega.com ------------------------------------------------------------

« previous php.general.es (#14645) next »