2017-04-06 19:09
浏览 46


so as the title says, I've a button on my main page which should send the amount of times clicked to another page.

I know how to do this via JS, but not in PHP. PHP is also not live, so I'd need to refresh the webpage in order to see the effect, I've been reading about it and I might try and mess around with AJAX to refresh a certain element of my webpage.

Is it possible to do this?

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

  • doupu0619 2017-04-06 19:17

    I think you should save it somewhere because PHP is handled server side. So either a cookie/session or a database.

    解决 无用
    打赏 举报

相关推荐 更多相似问题