PHP file for submitting jQuery Mobile form
Hello,
I made a jQuery Mobile page with a simple form;
Just Name, message and a submit button.
This is my code:
<form action="sent.php" data-ajax="true">
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-mini="true">
<label for="textinput5">
Name:
</label>
<input id="textinput5" placeholder="" value="" type="text" />
</fieldset>
</div>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<label for="textarea1">
Message:
</label>
<textarea id="textarea1" placeholder="" data-mini="true">
</textarea>
</fieldset>
</div>
<input type="submit" data-theme="a" value="Sent" data-mini="true" />
</form>
Can anybody help me, or give me info how to make the sent.php file to submit the entered info to my email-adress.
I searched the whole internet for useful php scripts, but I don't understand how it works.
Thanks