El Martes, 25 de Octubre de 2005 00:08, Rodolfo Alcazar escribió: || On Mon, 2005-10-24 at 12:44 -0700, gogolac wrote: || > gracias a los que tuvieron la bondad de no acabarme por comerter el || > graso error de no identificar el tema como OFF TOPIC, || > gracias mil a los que otra vez me pusieron en el camino, la solucion ya || > esta dada. || || Pero el script esta mal!!! dice "selecionando"... jajaja.
¡¡¡ JUAS JUAS !!! Ha sido buena. || > gracias a todos. || > gogo. || > || > gogolac ha escrito: || > > bueno este es el script: || > > || > > <html> || > > <body> || > > <?php> || > > || > > function conectarse() || > > { || > > if || > > (!($link=mysql_connect("localhost","root","xxxxxxxxx" || > > ))) || > > { || > > echo "error conectando a la base de datos."; || > > exit(); || > > } || > > if (!mysql_select_db("marimas",$link)) || > > { || > > echo "error selecionando base de datos."; || > > exit(); || > > } || > > || > > || > > return $link; || > > || > > } || > > || > > $link=conectarse(); || > > echo "conexion a la base de datos conseguida."; || > > || > > mysql_close($link); // cierra la conexion || > > ?> || > > </body> || > > </html> || > > || > > cuando lo cargo me da el siguiente error: || > > Parse error: parse error, unexpected T_FUNCTION in || > > /var/www/conexion.php on line 5 || > > || > > 4 ojos ven mejor que dos. || > > || > > gracias anticipadas || > > || > > || > > -- || > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] || > > with a subject of "unsubscribe". Trouble? Contact || > > [EMAIL PROTECTED] || || -- || Rodolfo Alcazar - [EMAIL PROTECTED] || Netzmanager Padep, GTZ || 591-70656800, -22417628, LA PAZ, BOLIVIA || http://otbits.blogspot.com || -- || The probability of a hardware failure disappearing is inversely || proportional to the distance between the computer and the customer || engineer. -- que a mí ni me va ni me viene... pero por comentar...