From 73276c4a44b56dcb2d1171270cd6bb1e453ce065 Mon Sep 17 00:00:00 2001 From: Stefan Walk Date: Fri, 20 Feb 2004 18:08:20 +0000 Subject: [PATCH] fix my error git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151954 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-affected-rows.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/mysql/functions/mysql-affected-rows.xml b/reference/mysql/functions/mysql-affected-rows.xml index c019ef13de..61b8f7b6d4 100644 --- a/reference/mysql/functions/mysql-affected-rows.xml +++ b/reference/mysql/functions/mysql-affected-rows.xml @@ -1,5 +1,5 @@ - + @@ -65,7 +65,7 @@ mysql_select_db('mydb'); /* this should return the correct numbers of deleted records */ mysql_query('DELETE FROM mytable WHERE id < 10'); -printf('Records deleted: %d\n', mysql_affected_rows()); +printf("Records deleted: %d\n", mysql_affected_rows()); /* with a where clause that is never true, it should return 0 */ mysql_query('DELETE FROM mytable WHERE 0');