Auto Number Generate Using PHP

Auto Number Generate Using PHP

Tutus Funny

4 года назад

46,244 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@abdulmajeed-vw7pm
@abdulmajeed-vw7pm - 03.12.2023 15:41

bekar

Ответить
@LindaKeshie-bg9pq
@LindaKeshie-bg9pq - 28.06.2023 18:59

Please for the source code

Ответить
@dhairyapatel6265
@dhairyapatel6265 - 04.05.2023 12:21

Sir thanks for this tutorial it was very very useful to me in my project

Ответить
@gxlnmt
@gxlnmt - 07.03.2023 08:50

best tutorial for me because this is what i'm finding for my project. THANK YOU SO MUCH!

Ответить
@MageshkKumar
@MageshkKumar - 21.01.2023 09:25

It was much helpful. But the number is stopping at EMP10 and EMP11 not generating. I couldn't make empid as primary because i have an column id as primary already.

Ответить
@cadeaulucmann1949
@cadeaulucmann1949 - 17.12.2022 18:43

Thank you for this tuto, i have a question. If i wanna use another variable but not the id for exemple i got the id, account_number, name right how can i auto generate account_number? cause it can't be incremented in the bd that id is already unique. How can i do that please?

Ответить
@rajsah8250
@rajsah8250 - 04.11.2022 09:53

isnt working after 10

Ответить
@wisdomguy9837
@wisdomguy9837 - 03.10.2022 16:09

Not working. It does not proceed to the next number series(ID)

Ответить
@esnaidinkanakan1820
@esnaidinkanakan1820 - 14.09.2022 18:29

Hi.. when the emp id reach 10 then if you add new employee the emp id is 10 instead of 11 how to fix that? thank you

Ответить
@kavinduweerasinghe6842
@kavinduweerasinghe6842 - 21.07.2022 10:10

It doesn't save after EMP10, just another DB save after EMP10. No work after 10

Ответить
@shazeerrra
@shazeerrra - 11.04.2022 02:58

Hi i want to ask, it can run but it didn’t auto generate the number. The number remain the same EMP5 even i add 10 new data

Ответить
@nicodemusindra7155
@nicodemusindra7155 - 17.11.2021 08:30

What if the PHP file is separate from the HTML file? Can you make some Tutorial for it ?

Ответить
@web4tech_limited
@web4tech_limited - 05.10.2021 16:06

Man Your Script Is Exceptional. First Optimize Your Script.
This Script Will Stop Till 10 Number 😂
Code Is Working Properly But Some Exception Are There ...
Solution ------

&empid = "EMP".(&empid + 1);
Now Write Like This -

If You Want To Get Value Till (99).
&empid = "EMP00".(&empid + 1);

If you want get value till (999).
&empid = "EMP000".(&empid + 1);

Ответить
@pubudunichanikawijesinghe4932
@pubudunichanikawijesinghe4932 - 13.09.2021 14:22

Thank u

Ответить
@vengphatt234
@vengphatt234 - 22.07.2021 13:33

Very Good your lessons

Ответить
@rifky49
@rifky49 - 10.06.2021 00:45

Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in F:\xampp\htdocs\PearlHospital\registration.php:181 Stack trace: #0 F:\xampp\htdocs\PearlHospital\registration.php(181): mysqli_fetch_array(false) #1 {main} thrown in F:\xampp\htdocs\PearlHospital\registration.php on line 181

Ответить
@shrutibirajdar150
@shrutibirajdar150 - 03.06.2021 10:21

can you plz share the source code link in the description..thanks already :)

Ответить
@smabasher
@smabasher - 30.05.2021 07:24

novice code

Ответить
@InaayaSoftech
@InaayaSoftech - 18.05.2021 20:39

stuck on 10 record no increment after 10

Ответить
@techwith-T
@techwith-T - 15.04.2021 08:46

Sir, I have followed the above steps but after reaching order id 10 it is not getting incremented. I am getting same order id 10 in my next data entry. Request you to please help.

Ответить
@sunilmanawadkar515
@sunilmanawadkar515 - 06.03.2021 12:19

i need same thing in spring boot can please upload code for me
thanks

Ответить
@deepakpoddar6479
@deepakpoddar6479 - 20.02.2021 19:46

isnt working after 10

Ответить
@vijaykahar3968
@vijaykahar3968 - 11.02.2021 16:03

Abe Chutiya Saale Fuddu Bna Rha He Dena He To Shi Knowledge De Na Be Jinhe Nhi Pta He Or Koi Sources Nhi He Bo To YT Per Hi Aayga Na......

Isme 1-10 Tak To Properly Increment Ho Rha He But 10 Ke Aage Se Increment Stop Ho Gya He ...

Ager Aata He To Ye Isaue Solve Ker...

Ответить
@arthiuvi9262
@arthiuvi9262 - 30.12.2020 08:56

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in C:\xampp\htdocs\370project\addstd.php on line 5

Ответить
@saritakamble7585
@saritakamble7585 - 07.11.2020 08:50

Thanks a lot sir

Ответить
@hariyadi4833
@hariyadi4833 - 03.10.2020 13:05

hello sir, great tutorial btw,
i wanna ask about duplication if some other user accessing this form also, how can we prevent that ID is not duplicated?

terima kasih,

Ответить
@emmanueldavidmusinguzi9528
@emmanueldavidmusinguzi9528 - 23.09.2020 11:44

Thanks a lot bro for this wonderful tutorial, you are the best

Ответить
@hemantsahu4582
@hemantsahu4582 - 20.09.2020 21:52

But it can't work after number 10

Ответить
@tibeyisaac7431
@tibeyisaac7431 - 10.09.2020 01:23

please how can i reset so that it will start from 1 again ? help me please

Ответить
@tibeyisaac7431
@tibeyisaac7431 - 10.09.2020 01:22

nice tutorial you are the best thank you

Ответить
@kennyrobertson9027
@kennyrobertson9027 - 09.07.2020 17:29

Hey, good tutorial, just what I was looking for, thank you. I need some help. I need the increment to start from 01590 and not from 1

Ответить
@AyushGupta-ke9ik
@AyushGupta-ke9ik - 16.06.2020 21:04

Pls zoom more

Ответить
@saeedahmad1313
@saeedahmad1313 - 16.06.2020 10:02

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\student\index.php on line 6
Notice: Trying to access array offset on the value of type null in C:\xampp\htdocs\student\index.php on line 7
i am getting like this why increment not working

Ответить
@user-rt4vf5sc9p
@user-rt4vf5sc9p - 07.06.2020 00:49

thank you
i have this proplem
Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\stores\customer.php on line 12
plse help me
this code
$select="SELECT * FROM customer order by id DESC LIMIT 1 " ;
$result= mysqli_query($conn, $select) ;

$row = mysqli_fetch_array($result);
$lastcustoer_id = $row['id'];
if($lastcustoer_id = "")
{
$custom_id = "CUST1";
}
else
{
$custom_id = substr($lastcustoer_id,3);
$custom_id = intval($custom_id);
$custom_id = "CUST1" . ($custom_id + 1);
}

?>

Ответить
@getsetalk
@getsetalk - 24.05.2020 17:47

Give source code please

Ответить
@sayanghosh6891
@sayanghosh6891 - 16.04.2020 15:20

My sqli fetch array me error dikha raha hai

Ответить
@mhdfadhih9325
@mhdfadhih9325 - 31.03.2020 13:49

hi can you help with this. when i enter like EMP until 09 after that it goes to up it cant get data. how to put sequence in that

Ответить
@naveenkamujula8579
@naveenkamujula8579 - 22.03.2020 16:45

sir can't work submit button

Ответить
@mustafasuleman5216
@mustafasuleman5216 - 09.03.2020 11:16

sir mera ni ho rha auto nmber generate

Ответить
@gallataallrounder6384
@gallataallrounder6384 - 13.02.2020 14:06

Error in this line>>>>$row= mysqli_fetch_array($result);
Error>>>Trying to access array offset on value of type null
Sir how to solve it?

Ответить
@andyjohn907
@andyjohn907 - 11.02.2020 15:30

thanks it worked for me

Ответить
@Naveenkumar-co4ng
@Naveenkumar-co4ng - 31.01.2020 09:32

data will not insert into database table and also the empid is not increment if refesh the browser the same id will display on the form

Ответить
@silencespeaks3798
@silencespeaks3798 - 27.11.2019 02:46

Good teacher

Ответить
@prasanthak1695
@prasanthak1695 - 13.10.2019 15:38

Super !! Its very interesting I can learn very well thanks sir

Ответить
@tamilictbetter9210
@tamilictbetter9210 - 13.10.2019 15:22

Sourcecode send pls

Ответить