I have a PHP/HTML form which stores values to MySQL database.
I do the insert execution
$sql = "
INSERT INTO hotel_nights
(name, attribute, hotel, availability, cost, date_in, date_out, stays, people, rooms, note, user)
VALUES
('$name', '$attribute', '$hotel', '$availability', '$cost', '$date_in', '$date_out', '$stays', '$people', '$rooms', '$note', '$user')
";
and then I send an approval email via phpmail.
Is there any way on approval email to have links/action buttons which will change one MySQL field value? A yes or no case where will change value to 1 or 0