Page 1 of 1

Add record

Posted: 2016-10-11 12:20
by Marcelo Vitoria
Hello friends

I have a table of requests, other items, and a third of sales commissions.
I need to add a record in the commission table to save data in the Orders table, someone can give me a hint? I'm new to PHP.

Example:

orders table
Order
date
name
value

table Commissions
date
order
commission (commission value (which will be 2% of the order value))

Thank you for any help.

(Sorry - bad English) :?

Marcelo

Appgini 5:51

Re: Add record

Posted: 2016-10-11 15:29
by DevGiu
What do you want. Create a comission record after a new order is added?

Re: Add record

Posted: 2016-10-17 16:55
by Marcelo Vitoria
Yes,
The correct would be to create a new sales commission record via a button, but to generate the save I already could develop the rest, because I'm kind of stuck with it!

Thank you