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 :

  1. check if date today's date. if not reset voucher number
  2. increment it

and try little research before asking next time.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -