Jump to content

What is the proper way to do this?


Calgaryalberta

Recommended Posts

I have a validation script that emails users once they register on the website. Right now its just sending them a UserID of 1,2,3,4,5 and so on. What I would like it to do is when users register the script assigns that user number 270 and then counts up from there, so the next user will be 271, 272 and so on.  So when they get their activation email for their UserID it says "270", then 271 for the next user and so on...

 

Ill post my script if necessary, I just thought it might be a quick fix. All the attempts Ive made to get the script to do this have failed, was looking for some help as to what to add to the script to get it to start at 270. Also do I need to change the initial value in the default column database to 270? - thanks

Link to comment
https://forums.phpfreaks.com/topic/88070-what-is-the-proper-way-to-do-this/
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.