PHP insert into database
<p>I have a web form which saves a part number in 3 split text boxes. I would like to save this part number into the database as the id number of the part number.Is there any way on how the number can be joined and then compared to the id value and used in the insert statement?I read somewhere that you can use implode function to do that.Well i did use implode to store the date but so far regarding this problem, its not been helpful.</p>

<pre><code>    &lt;td onmouseover="document.getElementById(\'id_nr_1\').focus();"&gt;
 St&amp;uuml;cklistennummer'.$pflicht_id_nr.'
    &lt;/td&gt;
    &lt;td align="left" onmouseover="document.getElementById(\'id_nr_1\').focus();"&gt;
    &lt;input type="text" class="'.$html_klasse_id_nr_1.'" id="id_nr_1"   name="id_nr_1" size="2" maxlength="4" value="'.htmlspecialchars($_REQUEST["id_nr_1"]).'" onfocus="this.focus();" onkeyup="FocusWeiter(this.id, \'id_nr_2\');"&gt;
    &lt;input type="text" class="'.$html_klasse_id_nr_2.'" id="id_nr_2" name="id_nr_2" size="1" maxlength="3" value="'.htmlspecialchars($_REQUEST["id_nr_2"]).'" onfocus="this.focus();" onkeyup="FocusWeiter(this.id, \'id_nr_3\');"&gt;
                                &lt;input type="text" class="'.$html_klasse_id_nr_3.'" id="id_nr_3" name="id_nr_3" size="1" maxlength="3" value="'.htmlspecialchars($_REQUEST["id_nr_3"]).'" onfocus="this.focus();" onkeyup="FocusWeiter(this.id, \'id_nr_4\');"&gt;

    &lt;/td&gt;
    &lt;/tr&gt;
</code></pre>
