How to store data from multiple forms using ajax and php

How to store data from multiple forms using ajax and php