Its syntax is: int uniqid (string prefix [, boolean lcg]) <? $uniq_id = uniqid(""); print $uniq_id; ?>