note 31200 added to function.pg-fetch-row
| From: | php-general at lists dot php dot net | Date: | Sun, 13 Apr 2003 12:39:51 +0000 |
| Subject: | note 31200 added to function.pg-fetch-row | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46564@lists.php.net to get a copy of this message | ||
sfsfsfs
ghaga<?php
mysql_connect("localhost", "mysql_user",
"mysql_password") or
die("Could not connect: " . mysql_error());
mysql_select_db("mydb");
mysql_query("INSERT INTO mytable (product) values
('kossu')");
printf ("Last inserted record has id %d\n", mysql_insert_id());
?>
--
http://www.php.net/manual/en/function.pg-fetch-row.php
http://master.php.net/manage/user-notes.php?action=edit+31200
http://master.php.net/manage/user-notes.php?action=delete+31200
http://master.php.net/manage/user-notes.php?action=reject+31200