ID: 12044
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Bogus
Bug Type: MySQL related
Operating System: FreeBSD 4.3 / Mandrake 8.0
PHP Version: 4.0.6
New Comment:

Not a bug, see this bug report for more information:

http://bugs.php.net/bug.php?id=10599


Previous Comments:
------------------------------------------------------------------------

[2001-10-23 14:19:20] [EMAIL PROTECTED]

Can you post your configure-line?

------------------------------------------------------------------------

[2001-07-11 07:20:00] [EMAIL PROTECTED]

Hi!

I have a strange problem, that I think has to be a bug:

1. My PHP script does a MySQL query, like this:

  $dbname = "testcounter";
  $dbhost = "localhost";
  $dbuser = "root";
  $dbpass = "somepass";

  $dbconn = mysql_connect($dbhost, $dbuname, $dbpass);

  $q  = "INSERT INTO counter (visitorhost) VALUES ('someinfo');";
  $qq = mysql_db_query($database, $q);

2. When I perform a manual sql query;

SELECT counter, visitorhost FROM counter;

... I get not only one entry, but TWO for each time the script is loaded.

Here are the original files:

http://beta.robodoc.net/test/index.txt - the PHP(s) file
http://beta.robodoc.net/test/testcounter.txt - a mysqldumped TAB file


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12044&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to