J
|
Jane 12/4/2008 |
Hi, |
M
|
maxcolo author 12/4/2008 |
Ok, but what is my error code: |
J
|
Jane 12/5/2008 |
Hi, global $dal; $rs2 = $dal->tavoli_cena->Query("id_tavolo_cena=".$values["id_tavolo"],""); $data2 = db_fetch_array($rs2); $posti_prenotati=$values["posti_prenotati"]; $posti_max=$data2["posti_max"]; if ($posti_prenotati>$posti_max) { echo "Il tavolo non dispone dei posti che hai richiesto."; return false; } return true; |
M
|
maxcolo author 12/6/2008 |
tank's, it work very well |