php tutorial in hindi | how to make unique id for employee like EMP_1, EMP_2

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024
  • In this video you will learn about how to make unique id for employee like EMP_1, EMP_2 in database table
    Follow Tutorialswebsite:
    / tutorialswebsite
    / techwebsitetrix
    www.tutorialswe...
    #mysqliuniqueTableid #howToMakeUniqueID

Комментарии • 16

  • @bhattavi7877
    @bhattavi7877 5 лет назад +1

    Thanks for this video sir

  • @creativenetworks9137
    @creativenetworks9137 5 лет назад

    thank you sir ..solve ho gya,,,,, thanks again

  • @RahulKumar-pu2kc
    @RahulKumar-pu2kc 5 лет назад

    Thanks for video sir :)

  • @Vasugi-ds6sg
    @Vasugi-ds6sg 3 года назад

    Can u help me how to echo unique_id in my html input field......thank you this has worked in database... But i couldnt echo it on my input field

  • @saurabhtiwwari2546
    @saurabhtiwwari2546 4 года назад

    How to insert last inserted value in two or more table which has it's own auto increment column so value will change every time please help

  • @mrsaeedahmad93
    @mrsaeedahmad93 5 лет назад

    Sir one video on
    How to fetch data by calendar or date

  • @pallavipatole8865
    @pallavipatole8865 3 года назад

    how to get unique ID based on like Last Name : Bhuta (first 2 alphabets of last name)
    and take last 3 digit of phone number

  • @creativenetworks9137
    @creativenetworks9137 5 лет назад

    hello sir...its not working.. please can you send me email,so i can connect your and tell you what is problem occurring with me

    • @Tutorialswebsite
      @Tutorialswebsite  5 лет назад

      Hi
      you can send me mail on info@tutorialswebsite.com

  • @infomudrahome3794
    @infomudrahome3794 4 года назад

    can you make it for laravel ?

  • @yashvantgupta2405
    @yashvantgupta2405 4 года назад

    thank you so much sir..

  • @chandanadhikari4637
    @chandanadhikari4637 6 лет назад

    Sir, we can also do the same with the use of create trigger in SQL by run the following command in phpmyadmin console.
    Eg: CREATE TRIGGER mytrigger
    BEFORE INSERT
    ON users (table name)
    FOR EACH ROW
    SET NEW.user_id(column name) =
    CONCAT("EMP_",COALESCE((SELECT MAX(id)+1 from users),1))

  • @RamuRamu-eu2sx
    @RamuRamu-eu2sx 6 лет назад

    Thank you sir