Hi All,
i have following Tables
Table 1 - [Students] - which contains field: "age"
Table 2- [Seminars] - which contains 2 fields: "minimum_age" and "maximum_age"
in the Seminar View Page i created a new button "book Seminar"
i want this button to do a validation before a student can book a seminar:
if age > maximum_age ==> message "you are too old for this seminar"
if age < minimum_age ==> message "you are too young for this seminar"
else open page "book_seminar.php"
please help me with the right code to do this validation, and please let me know where to put the code (client before/server/client after)
thnaks