Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.