I am generating a bar code, it will have a base that will be as follows:
-
Store number:
$v_ficha_loja = $row['ficha_loja'];
= (1) or (2) etc .. -
Environment number:
$v_ficha_ambiente = $row['ficha_ambiente'];
(1) or (2) etc .. -
And a sequential number:
1,2,3,4,5,6,7, .... 100.
Well, I'm generating a report and every report will have its barcode, you doubt:
Based on above the bar code will have 11 numbers, as follows:
- x1x2xxxxxx1
- x1x1xxxxxx2
- x1x2xxxxxx3
- x1x2xxxxxx4
- x1x2xxxxx10
- x1x2xxxxx11
- x1x2xxxxx12
- x1x2xxxx100
Where I put x
I want to include 0
how can I do this?
I already have the system code and bar code all ready, I just need to generate that number.
Intended end result:
01010000001