How to connect front end and back end programing in website webbrowser and web servers
There are a lot of methods. It depends what application stack you are using.
If you know nothing about full stack web development, read up on LAMP stacks and MEAN stacks. It’s a good starting point.