note 81351 added to function.mysql-insert-id

From: Date: Sun, 24 Feb 2008 01:33:58 +0000
Subject: note 81351 added to function.mysql-insert-id
Groups: php.notes 
Request: Send a blank email to php-notes+get-136447@lists.php.net to get a copy of this message
There's nothing inherently wrong with using auto-increment fields. There's also nothing wrong with the main competetive idea, which is for the database to supply a primitive sequence of non-repeating identifiers, typically integers. This is rather like which side of the road you drive on. The bigger problem is when people don't understand what they are doing with database access. It's like driving a car without really knowing the rules of the road. Such people wind up making bad decisions without realizing it, and then, eventually, something breaks. Databases are complex beasts, and worth taking the time to really understand. Learn about the implications and limitations of different approaches to solving problems. Then, you will be prepared to pick a solution based on what has to work. ---- Server IP: 208.69.120.35 Probable Submitter: 24.165.61.213 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-insert-id.php Edit -- https://master.php.net/note/edit/81351 Del: integrated -- https://master.php.net/note/delete/81351/integrated Del: useless -- https://master.php.net/note/delete/81351/useless Del: bad code -- https://master.php.net/note/delete/81351/bad+code Del: spam -- https://master.php.net/note/delete/81351/spam Del: non-english -- https://master.php.net/note/delete/81351/non-english Del: in docs -- https://master.php.net/note/delete/81351/in+docs Del: other reasons-- https://master.php.net/note/delete/81351 Reject -- https://master.php.net/note/reject/81351 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136447) next »