Book an appointment - public side

The insert works but  not able to select all the details of the
appointment from the table. Still trying......