RE: Still with problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm, not sure... 

-----Original Message-----
From: Leandro Martinez [mailto:leandro@xxxxxxxxxxxxxxxxxxxxxx] 
Sent: Friday, June 22, 2007 9:33 AM
To: Bill Bolte
Subject: Still with problems

Hello there.
Sorry to bother you, but nothing happends here.

Here is all the code:

<?php
error_reporting(E_ALL);

$conexion=mysql_connect("localhost","[user]","[pass]")
  or  die("Problemas en la conexion");
mysql_select_db("otrocampo",$conexion)
  or  die("Problemas en la selección de la base de datos");
$registros=mysql_query("select * from agenda",$conexion) or
  die("Problemas en el select:".mysql_error());

while ($reg=mysql_fetch_array($registros))
{
  echo "idagenda:".$reg['idagenda']."<br>";
  echo "<br>";
  echo "<hr>";
}
mysql_close($conexion);
?>


Thank you so much 




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux