Jump to content

Help with Generating Invoice number with PHP


afam4eva

Recommended Posts

Pls i need help with generating an invoice no for my website. Currently i made use of the sql function "create table order(invoice_no serial auto_increment)" to generate unique invoice numbers. But my problem is that the invoice number does not display on the page except i reload the browser.

 

Let me make it more lucid to you.

 

  For example you cannot "insert into orders(invoice) values('')" and also "select * from orders" on the same page. So what options do i have left.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.