edmundk Posted February 5, 2014 Report Share Posted February 5, 2014 How does phpVMS assign the next available pilot id? Can someone paste the code? Quote Link to comment Share on other sites More sharing options...
flyalaska Posted February 5, 2014 Report Share Posted February 5, 2014 Its done in phpMyAdmin Go into phpMyAdmin. Go to your pilots table. On the top tab, click on Operations. If you have deleted the last X pilots, just change the number to 1 and the next pilot will be in order. If have any new pilots since you deleted, this will not work. Quote Link to comment Share on other sites More sharing options...
edmundk Posted February 5, 2014 Author Report Share Posted February 5, 2014 Oh okay, i was asking because i am getting a lot of spam on my website. So if i ran a cron job to reset the auto_increment table to 1 every 15 minutes or so, all pilots would be in order? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.