Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@RickJames The user comes to the website selecting "I want pizza/sushi/kebab/..." and then get a list of restaurants. In this case he selected restaurant with ID 1. It is NOT the case that a list of dishes is listed before a restaurant is selected.
But the question remains: In your second step, when I fill up Receiver with the data from receiver_name and receiver_email, how do I link the ID of the newly inserted rows to column receiver_id?