hi all,
im developing an online train ticket. the user will key in all the journey data (e.g: ticket type, journey type, origin and destination).after the key in, all the data will be save in database when only user click print button (we have to make sure customer paid the ticket before print).
so my question is, how to save all the data into database at the same time printing tickets..lets say if customers are 5 persons.the quantity is 5 but the printer will print the ticket one by one..not 5 person include in 1 ticket.and also the serial number for the ticket.how to implement this..totally blank...
i really hope for helps.im new beginner
thanks in advance,
musiw.