Re: [PHP] Incremental Date Based ID

2006-03-07 Thread Miles Thompson
At 08:46 PM 3/7/2006, Kevin Murphy wrote: I'm trying to set up an ID field that works like this for news articles that are posted to a website. 2006-03-05a 2006-03-05b I know how to generate the date, and I am pretty sure I can generate the letter code based on counting the number of rows and

Re: [PHP] Incremental Date Based ID

2006-03-07 Thread Chris
Kevin Murphy wrote: I'm trying to set up an ID field that works like this for news articles that are posted to a website. 2006-03-05a 2006-03-05b I know how to generate the date, and I am pretty sure I can generate the letter code based on counting the number of rows and then assigning th

[PHP] Incremental Date Based ID

2006-03-07 Thread Kevin Murphy
I'm trying to set up an ID field that works like this for news articles that are posted to a website. 2006-03-05a 2006-03-05b I know how to generate the date, and I am pretty sure I can generate the letter code based on counting the number of rows and then assigning the next letter (we wil