Hi all,
Just wondering if someone could guide me on the following:
I have a Contact Us form on my web page;
Now I was just wondering if someone could guide me on how I could make this a live form using embedded PHP?Code:<form action="" id="form" style="margin:0; padding:0 "> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="403" height="24"> <div style=" margin-left:13px; margin-top:0px "><img src="images/6_w1.gif" alt="" border="0"></div> </td> </tr> <tr> <td valign="top" width="403" height="127"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="120" height="127"> <div style=" margin-left:32px; margin-top:12px "><a href="#"><img src="images/6_p1.jpg" alt="" border="0"></a></div> </td> <td valign="top" width="130" height="127"> <div style=" margin-left:5px; margin-top:9px; margin-right:0px; line-height:13px " class="b"><span class="green">The Company Name Inc.</span><br> 9863 - 9867 Mill Road, <br> Cambridge, MG09 99HT</div> <div style=" margin-left:5px; margin-top:5px; margin-right:0px; line-height:13px " class="b">Tel: +44 989 998 92 90 Fax: +44 989 998 92 90</div> <div style=" margin-left:5px; margin-top:5px; margin-right:0px; line-height:13px " class="b">Tel: +44 369 369 36 69 Fax: +44 369 369 36 69</div> </td> <td valign="top" width="153" height="127"> <div style=" margin-left:9px; margin-top:9px; margin-right:0px; line-height:13px " class="b"><strong>Customer Center:</strong></div> <div style=" margin-left:9px; margin-top:5px; margin-right:0px; line-height:13px " class="b">Phone: +44 369 369 36 69<br> E-mail: <a href="#" class="green">[email protected]</a></div> <div style=" margin-left:9px; margin-top:9px; margin-right:0px; line-height:13px " class="b"><strong>User Guide:</strong></div> <div style=" margin-left:9px; margin-top:5px; margin-right:0px; line-height:13px " class="b">Phone: +44 369 369 36 69<br> E-mail: <a href="#" class="green">[email protected]</a></div> </td> </tr> </table> </td> </tr> <tr> <td valign="top" width="403" height="24"> <div style=" margin-left:13px; margin-top:0px "><img src="images/6_w3.gif" alt="" border="0"></div> </td> </tr> <tr> <td valign="top" width="403" height="61"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="208" height="61"> <div style="margin-left:32px; margin-top:7px;" class="t3"><input type="text" class="b" style=" width:164px; height:20px " value=" Your name: " ></div> <div style="margin-left:32px; margin-top:5px;" class="t3"><input type="text" class="b" style=" width:164px; height:20px " value=" Phone: " ></div> </td> <td valign="top" width="195" height="61"> <div style="margin-left:0px; margin-top:7px;" class="t3"><input type="text" class="b" style=" width:164px; height:20px " value=" Company name: " ></div> <div style="margin-left:0px; margin-top:5px;" class="t3"><input type="text" class="b" style=" width:164px; height:20px " value=" E-mail: " ></div> </td> </tr> </table> </td> </tr> <tr> <td valign="top" width="403" height="121"> <div style="margin-left:32px; margin-top:0px;" class="t3"><textarea cols="35" rows="35" style=" width:340px; height:90px; overflow:hidden " class="b"> Message:</textarea></div> <div style="margin-left:233px; margin-top:5px; " class="b"><img alt="" style="margin-right:9px; margin-left:0px " src="images/1_z1.gif" border="0"><a href="#" class="b" onClick="document.getElementById('form').reset()"><strong>reset</strong></a><img alt="" style="margin-right:9px; margin-left:40px " src="images/1_z1.gif" border="0"><a href="#" class="b" onClick="document.getElementById('form').reset()"><strong>submit</strong></a></div> </td> </tr> </table> </form>
Many thanks
Olly![]()




Reply With Quote