douzhuan1432 2011-03-23 01:58
浏览 51
已采纳

提交表单时mysql电子邮件如何提醒?

I have created a form in Adobe Dreamweaver CS4 and I am using PHP and MySql. Currently,when user hits the submit button,it captures data in the form and submits it to a MySql table.What I would like it to do is to send an email to me notifying that a form has been submitted,along with a summary of the data entered in the form.So, essentially I want to execute two behaviours on click of submit button. I would really appreciate if someone could help me with it.

  • 写回答

2条回答 默认 最新

  • doushifang4382 2011-03-23 02:04
    关注

    The simplest way is to use the mail() function just before or have the mysql_query call.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)
编辑
预览

报告相同问题?

悬赏问题

  • ¥15 java和硬件交互问题
  • ¥15 前台多人编辑时怎么让每个人保存刷新都互不干扰
  • ¥20 如何用Python删除单元格内连续出现的重复词?
  • ¥15 WangEditor嵌入到geeker-admin中,回车没有办法换行
  • ¥30 stm32f103c8t6制作万能红外遥控器
  • ¥15 有人会fastcrud写前端页面吗
  • ¥15 如何解除Uniaccess管控
  • ¥15 微信小程序跳转关联公众号
  • ¥15 Java AES 算法 加密采用24位向量报错如何处理?
  • ¥15 使用X11可以找到托盘句柄,监控到窗口点击事件但是如何在监听的同时获取托盘中应用的上下文菜单句柄