[英]Email address Input from Form to Table
I am trying to have a form take the input of a username and have the @domain.com automatically added to the table. 我正在尝试让表单接受用户名的输入,并将@ domain.com自动添加到表中。 My code for the form is:
我的表格代码是:
<th>Owner Emaill: * <td><input type="text" name="email" value="<?php echo $email; ?>" />@informatica.com </td></tr>
and the table is: 表格是:
echo '<td><a href="mailto:'.$row['email'].'">' . $row['email'].'</a></td>';
any help is greatly appreciated. 任何帮助是极大的赞赏。
如果您也要显示它:
echo '<td><a href="mailto:'.$row['email'].'@informatica.com">' . $row['email'].'@informatica.com</a></td>';
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.