help me in random codes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    help me in random codes

    hello friends please help me i wish you help me i want to create a random code for ex: my code is 23453 and after refresh its gone change to another 23456 and then 23546 then 23654 so i want last three digit changing randomly after refresh so please give me a ph code fo this

    #2
    If i understand correctly its something like this?

    PHP Code:
    $num '23'.substr(uniqid(rand(), true), 03); 
    <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

    Comment


      #3
      thanks arange

      Comment


        #4
        You are welcome.
        <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

        Comment

        Working...
        X