I would like to compare / validate if the gift card number is valid
I would like to compare / validate if the gift card number is valid when the customer makes a booking.
I have two tables. The Giftcard table contains, among other things, the column ID that I want to compare with the booking number field that you enter in the form. I can't find any guide on this. Do you have any tips on how to do this?