Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Champ ID à incrémentation [OK] 22 Aug 2012 03:30 #3249

  • sarki
  • sarki's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thank you received: 0
Hello,
Dans un de mes projets, je souhaite créer un champ ID unique avec incrémentation automatique mais je n'ai pas trouvé comment faire. Est-ce possible ?
Si non, ce n'est pas grave, j'adapterai ensuite à la main ;)
Sarki

Please Log in or Create an account to join the conversation.

Last edit: by sarki.

Re: Champ ID à incrémentation 22 Aug 2012 09:43 #3255

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Salut à toi camarade !
Bienvenue sur le forum.


Veux-tu dire le champ ID principal ? Il est créé automatiquement et le nom 'id' ne peut pas être changé pour le moment.

Ce champ est unique et incrémental. C'est aussi le champ le plus important de la table évidement.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Champ ID à incrémentation 22 Aug 2012 10:00 #3258

  • sarki
  • sarki's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thank you received: 0
Hello Amigo :)
Merci de ta réponse, c'est parfait.
A+
Sarki

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.079 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started