Random uniqueID for each ID SQL
Finally, I used RAND(), for generate an "UniqueID", and we can add some letters after or else :

Thanks to NerdyDev and Bart Friederichs for solutions.

&lt;?php

$reponse = $bdd-&gt;prepare("UPDATE tuto SET uniqueID=ROUND(RAND() * :tp) WHERE uniqueID='' AND title=''");

$uniqueID = $donnees['uniqueID'];

$tp = time();
$reponse-&gt;execute([':tp' =&gt; $tp]);

?&gt;