onsubmit - Generate Transaction ID PHP -
i making fees collecting module college in php, on submit, want echo voucher number, every time voucher number should +1 previous voucher. , every day voucher number should start 1.
just create db table store current voucher number , date. on every submit :
- check if date today's date. if not reset voucher number
- increment it
and try little research before asking next time.
Comments
Post a Comment