douduiyun6125 2013-11-09 13:48
浏览 7
已采纳

根据其他页面上的选择显示图像

I have build a system to put together a shed, this is done with several pages with radio buttons and forms.

The problem is that with this form i use action and POST to send the result to the next page. But i want the input for example on page 1 to be send to page 2 and 3, currently thats impossible because you can only have one action in your form.

<form action="lounge-kamer3.php" method="POST">

I need the input from page 1 for an if statement on page 2 and 3. how do i do that? Couldnt find an easy way on the internet, and because i do not master english that well it sometimes is hard to understand. Hope i am clear enough.

ps. sorry for my english, not my first language.

  • 写回答

2条回答 默认 最新

  • doupi8598 2013-11-09 19:20
    关注

    Perhaps try using a hidden field, a cookie, or session info to carry information across pages.

    How to pass information across web pages of a web site

    You might want to write the requests asynchronously and then you can continually reuse info on the page with js and php.

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

报告相同问题?

悬赏问题

  • ¥15 Windows Script Host 无法找到脚本文件"C:\ProgramData\Player800\Cotrl.vbs”
  • ¥15 matlab自定义损失函数
  • ¥15 35114 SVAC视频验签的问题
  • ¥15 impedancepy
  • ¥15 求往届大挑得奖作品(ppt…)
  • ¥15 如何在vue.config.js中读取到public文件夹下window.APP_CONFIG.API_BASE_URL的值
  • ¥50 浦育平台scratch图形化编程
  • ¥20 求这个的原理图 只要原理图
  • ¥15 vue2项目中,如何配置环境,可以在打完包之后修改请求的服务器地址
  • ¥20 微信的店铺小程序如何修改背景图