How to use the MYSQL limit the customer place an order, up to two times?

The customer place an order, limited, and not a restriction, if the customer first place an order is wrong, then to the two times, but third times can't anymore, how to achieve this through the MySQL?

Started by Archer at February 05, 2016 - 9:47 PM

Program control.

Posted by Dominic at February 08, 2016 - 10:03 PM

How to control MYSQL.?

Posted by Archer at November 27, 2016 - 5:22 PM

In fact, as with the program.

Posted by Hellen at December 01, 2016 - 5:48 PM

How to control? PHP

Posted by Archer at December 12, 2016 - 6:18 PM

The definition of a variable to counter.
Judge success place an order number.

Posted by Dominic at December 20, 2016 - 6:51 PM

How to control the number of database, place an order, control in the program.

Posted by Steward at December 25, 2016 - 7:28 PM

Customer operations about her operation records in the database table, the user ID, operating correctly or not, operation time, then the next time operation of information out there to judge it.

Posted by Diana at January 05, 2017 - 8:00 PM

Flip flops, judgment before insertion, does not conform to the rules prohibit insertion

Posted by Jennie at January 06, 2017 - 9:17 PM

Like you this is obviously to realize in the application of ah, if not to deal with in the database, upstairs to say good

Posted by Vivian at January 08, 2017 - 8:28 PM