douchen5971 2013-10-08 16:11
浏览 32

表单提交按钮 - 每次提交时更改操作页面

I have a form with a submit button that when pressed it emails the contents to a single email address. The email is then manually forwarded to one of 3 people on a rota system.

Is there any way that the submit button could work so that when the first site visitor clicks it the inquiry goes to staff member 1, when the next one does it the inquiry goes to staff member 2 when the next one does it it goes to staff member 3 and then back to staff member 1 when the next one does it.

Any help would be greatly appreciated.

  • 写回答

4条回答 默认 最新

  • dslh32311 2013-10-08 16:17
    关注

    Make a column in database for current active_member

    set 0 default value.

    get first staff member from database with column active_member value 0

    set column active_member to 1 when you send mail to that staff member.

    when no member have active_member value column value 0 than Reset all value to 0.

    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?