hello guys can anyone help me out .............................
that in this code i want that as soon as user done with registration on his email id mail has to be deliverd with welcome message and username and password and on mobile also can anyone can re-code to it in this format................and in that mail one link should be there which will redirect directly for login......can anyone help me out
<script>
function err()
{
var a=document.myfrm.txt8.value;
var b=document.myfrm.txt9.value;
if(a!=b)
{
alert("password and re-password is not match");
return false;
}
return true;
}
</script>
<tr height='800px'>
<td>
<form action='reg1.php' method='post'
enctype='multipart/form-data' name='myfrm' onsubmit="return err();">
<table width="40%" align='center' border='1' cellspacing='0' cellpanding='0'>
<tr align='center' height='100px' >
<td align='center' colspan='2'><h2>Registertion Form</h2>
</td>
</tr>
<tr>
<td>
<h3>Name</h3></h3></td>
<td>
<input type='text' name='txt1'>
</td>
</tr>
<tr>
<td>
<h3>Address</h3></td>
<td>
<input type='text' name='txt2'>
</td>
</tr>
<tr>
<td>
<h3>Gender</h3>
</td>
<td>
<input type='radio' name='txt3'>Female
<input type='radio' name='txt3'>male
</td>
</tr>
<tr>
<td><h3>Mobile No</h3></td>
<td><input type="text" name="txt4" id="" size="30" maxlength=10/></td>
</tr>
<tr>
<td><h3>DATE OF BIRTH</h3></td>
<td>
<SELECT NAME="txt5">
<option value="">YEAR</option>
<option value="1980">1980</option>
<option value="1981">1981</option>
<option value="1982">1982</option>
<option value="1983">1983</option>
<option value="1984">1984</option>
<option value="1985">1985</option>
<option value="1986">1986</option>
<option value="1987">1987</option>
<option value="1988">1988</option>
<option value="1989">1989</option>
<option value="1990">1990</option>
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
<option value="1995">1995</option>
<option value="1996">1996</option>
<option value="1997">1997</option>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option><option value="2013">2013</option>
</select>
<select name="txt51">
<option value="">MONTH</option>
<option value="JAN">JAN</option>
<option value="FEB">FEB</option>
<option value="MAR">MAR</option>
<option value="APRIL">APRIL</option>
<option value="MAY">MAY</option>
<option value="JUN">JUN</option>
<option value="JULY">JULY</option>
<option value="AUG">AUG</option>
<option value="SEP">SEP</option>
<option value="OCT">OCT</option>
<option value="NOV">NOV</option>
<option value="DEC">DEC</option></SELECT>
<select name="txt52">
<option value="">DATE</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
</td>
</tr>
<tr>
<td>
<h3>E-mail id</h3></td>
<td>
<input type='text' name='txt6'><?php
echo $_GET['err'];
?>
</td>
</tr>
<tr>
<td><h3>OCCUPATION</h3></td>
<td>
<select name="txt7">
<option value="">-SELECT-OPTION-</option>
<option value="1">Student</option>
<option value="2">Employee</option>
<option value="3">Teacher</option>
<option value="4">Business</option>
</select>
</td>
</tr>
<tr>
<td><h3>PASSWORD </h3></td>
<td><input type="password" id="" name="txt8" size="30">
</td>
</tr>
<tr>
<td><h3>RETYPE PASSWORD</h3> </td>
<td><input type="password" id="" name="txt9" size="30">
</td>
</tr>
<tr>
<td><h3>UPLOAD IMAGE</h3> </td>
<td><input type="file" id="" name="txt10" size="30">
</td>
</tr>
<br><br><tr>
<td colspan='2'>
<input type="checkbox" >Accept terms and Condition</td>
</tr>
<tr>
<td colspan="2" align="center">
<br><br><input type="submit" value=" SUBMIT ">
<input type="reset" value=" RESET ">
<h2><p><font size="3">Now click here to <a href="login.php">SignIn</a></font></p></h2>
</td>
</tr>
</table>
</form>
</td></tr>
hello guys can anyone help me out .............................
that in this code i want that as soon as user done with registration on his email id mail has to be delivered with welcome message and username and password and on mobile also can anyone can re-code to it in this format....and in that mail one link should be there which will redirect directly for login......