hello all,
i have built an application form that submits info to us. we review that info and then accept or decline.
if we accept...it must insert that users info in the db and genrate a customer number for them
the customer number must be 5 digits in length.
what i need to do is check mysql if that digit exists, if it does, i need to generate a new number...then check again...im having trouble with the flow of this though...not really sure how to do it
is there a built in function for this sort of thing?
thanks in advance