RE: Still with problems

RE: Still with problems

am 22.06.2007 16:36:08 von Bill Bolte

Hmm, not sure...=20

-----Original Message-----
From: Leandro Martinez [mailto:leandro@extranets.unsam.edu.ar]=20
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:

error_reporting(E_ALL);

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

while ($reg=3Dmysql_fetch_array($registros))
{
echo "idagenda:".$reg['idagenda']."
";
echo "
";
echo "


";
}
mysql_close($conexion);
?>


Thank you so much=20




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

Re: RE: Still with problems

am 22.06.2007 18:13:36 von Niel Archer

Hi

As Stut has already pointed out, make sure that displaying errors is
enabled. It does no good to use:

error_reporting(E_ALL);

if the reports aren't displayed. This needs to be done with the php.ini
directive 'display_errors' (details here http://uk2.php.net/manual/en/ref.errorfunc.php#ini.display-e rrors).



Niel

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

Re: RE: Still with problems

am 23.06.2007 03:45:16 von bedul

don't forget to restart your server??

----- Original Message -----
From: "Niel Archer"
To:
Sent: Friday, June 22, 2007 11:13 PM
Subject: Re: [PHP-WIN] RE: Still with problems


> Hi
>
> As Stut has already pointed out, make sure that displaying
errors is
> enabled. It does no good to use:
>
> error_reporting(E_ALL);
>
> if the reports aren't displayed. This needs to be done
with the php.ini
> directive 'display_errors' (details here
http://uk2.php.net/manual/en/ref.errorfunc.php#ini.display-e
rrors).
>
>
>
> Niel
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

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