Hi,
I would like to ask a question regarding my code. To give you back ground, I'm making a registration page. The page will auto-generate the user id and it will insert it on the user table. But my problem is that my code is not functioning as expected. It won't generate the ids that I'm expecting. Here is my code to generate the IDs:
for ( $id = 0; $id <= 100; $id++){
if( isset($_POST['reg'])){
// print first the id to validate if the code is correct
echo $id;
}
}