Can we generate random unique id with alphanumeric in php?

Sure. Just write a class or function to do it. There is also RNG code in PHP that will do that for you as well, such as found in http://php.net/manual/en/function.gmp-random.php

And by the way, it took me about 10 seconds to look that and other RNG code up in the PHP web site. Please don't ask questions that you can better answer yourself with a little research.. :-(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.