This topic is locked

Prevent add

9/30/2008 2:52:56 AM
PHPRunner General questions
M
maxcolo author

Good morning,

sorry for my english,

I have two table "prenotazioni" and "posti"
Prenotazioni Posti

id_prenotazione

data

coperti

id_posto --------> id_posto

nome posizione

cognome posti_totali

email
What is the code for prevent in Before Add these actions:
if SUMcoperti in (unique date es 12/10/2008) > or equal posti_totali echo......
Grazie in advance

Best regards

Massimo