|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-06 09:53 UTC] mfischer@php.net
[2002-03-06 09:54 UTC] mfischer@php.net
[2002-03-06 10:35 UTC] andreas at milaro dot net
[2002-03-06 10:55 UTC] hholzgra@php.net
[2002-06-02 00:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 12:00:01 2025 UTC |
hi all $my_sql = "INSERT INTO $table ( my_time ) values( NOW())"; if(!$my_res = mysql_query($my_sql,$my_db)) {echo "ERROR query<BR>".mysql_error($my_db);} $test1 = mysql_insert_id(); $test2 = mysql_affected_rows($my_db); echo "<p>my result $test1 $test2 <br>"; the correct result from $test1 if 1..9 and from $test2 = 1 the entry in the db is correct plz test this link http://62.72.17.147/bug.php4 http://62.72.17.147/bug.phps and the mysql db for local test's http://62.72.17.147/bug.txt sorry for my bad englich ;) Rene