slawek Sat May 4 13:51:31 2002 EDT
Modified files:
/phpdoc/en/reference/mysql/functions mysql-insert-id.xml
Log:
Fixed example
Index: phpdoc/en/reference/mysql/functions/mysql-insert-id.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-insert-id.xml:1.3
phpdoc/en/reference/mysql/functions/mysql-insert-id.xml:1.4
--- phpdoc/en/reference/mysql/functions/mysql-insert-id.xml:1.3 Sun Apr 21 13:18:18
2002
+++ phpdoc/en/reference/mysql/functions/mysql-insert-id.xml Sat May 4 13:51:31
+2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-insert-id">
<refnamediv>
@@ -59,7 +59,7 @@
die("could not connect");
mysql_select_db("mydb");
- mysql_query("INSERT INTO mytable (product) values ('kossu');
+ mysql_query("INSERT INTO mytable (product) values ('kossu')");
printf ("Last inserted record has id %d\n", mysql_insert_id());
?>
]]>