Re: RE:[PHP-ES] Consulta Acerca de MYSQL

From: Date: Fri, 17 Jan 2003 21:28:55 +0000
Subject: Re: RE:[PHP-ES] Consulta Acerca de MYSQL
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-31382@lists.php.net to get a copy of this message
Gabriel Falcone wrote:
mandá el código para poder verlo. __________________________________________________ Todavía no tenés tu Ciudad Internet Mail? Obtenelo ahora! - http://webmail.ciudad.com.ar Descargá Gratis el nuevo Internet Explorer 6.0, el mejor software para actualizar tu PC. http://www.ciudad.com.ar/ar/servicios/ie/ --------------------------------------------------------------------- Archivo On-line: http://www.phpes.com/ via news: news://news.phpes.com/ Manual PHP en español: http://www.php.net/manual/es/ Para dar de baja la suscripción, mande un mensaje a: lista-unsubscribe@phpes.com
<?php $link = mysql_connect ("host", "usuario", "password"); mysql_select_db("DB",$link); $agregar = "insert into html values('Sebastian', 'Garcia')"; $select1 = "select nombre from html"; $result = mysql_query($select1,$link); while (mysql_fetch_array($result)) { $valor1 = mysql_result($result,$j,"nombre"); echo "$valor1"; $j++; } mysql_close ($link); ?>

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