Jump to content

PHP / MYSQL Adding to ID Number


RTS

Recommended Posts

I am adding a private messaging system to my website, and am wondering, how do I add a distinct ID number to each message. I  have a column named ID in a table called messages in a database called test. I want it to be so the first message will have id = 1, seccond message id = 2, and so on and so forth. Is this easy? How would I do it?
Link to comment
https://forums.phpfreaks.com/topic/22460-php-mysql-adding-to-id-number/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.