| Posted by Jim Michaels on 01/11/06 12:23 
I tried having two of them in the same table and MySQL doesn't allow it. one of them was the primary key.
 "Pat Farrell" <pfarrell@nospam.com> wrote in message
 news:udrgf.22617$sg5.3011@dukeread12...
 > John McClumpha wrote:
 >> is there a simple (quick) way to increase the value of an integer
 >> field in a nominated row by 1 other than first having to retrieve the
 >> value and then UPDATE the appropriate field? - similar to doing a
 >> $Variable++ in PHP?
 >
 > Why not use the autoincrement feature of MySql?
 >
 > --
 > Pat
 >
 >
  Navigation: [Reply to this message] |