How to Save Data from Input Type Text Without Submit Button
<p>I have a new website. In this website, the user enters values in the Name &amp; Email in text fields and then the user clicks an anchor to get a unique link.</p>

<p>Now the thing is, I want to save data from input type <code>text</code> (Name &amp; Email). I know how to do it if there is a submit button, but how can I save data without a submit button?</p>

<p>I want to save data in a database via PHP.</p>