how to submit a from with validation in PHP?
<p>I want to submit this form through PHP. with validation for required field and validation for phone number and email field also</p>

<pre><code>&lt;form action="" method="" id="get-protected"&gt;
&lt;div class="row requiredRow"&gt;
    &lt;label for="txt_FirstName"&gt;
        First Name&lt;/label&gt;
    &lt;input id="txt_FirstName" type="text" class="required" title="First Name. This is a required field" /&gt;
&lt;/div&gt;
&lt;div class="row"&gt;
    &lt;label for="txt_LastName"&gt;
        Last Name&lt;/label&gt;
    &lt;input id="txt_LastName" type="text" title="First Name. This is a required field" /&gt;
&lt;/div&gt;
&lt;div class="row"&gt;
    &lt;label for="txt_Phone"&gt;
        Phone&lt;/label&gt;
    &lt;input id="txt_Phone" type="text" title="First Name. This is a required field" /&gt;
&lt;/div&gt;
&lt;div class="row requiredRow"&gt;
    &lt;label for="txt_Email"&gt;
        Email&lt;/label&gt;
    &lt;input id="txt_Email" type="text" class="required" title="Email. This is a required field" /&gt;
&lt;/div&gt;
&lt;div class="row"&gt;
    &lt;input type="submit" value="" class="button" /&gt;
&lt;/div&gt;
&lt;/form&gt;
</code></pre>
