HTML表单值到SESSION变量作为数组 [英] HTML form values into SESSION variable as an array

查看:291
本文介绍了HTML表单值到SESSION变量作为数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有16场(的https://secure.high-speed-business-club.com//TEMPLATE-order-form-module/?affiliate=0).

什么是捕获所有这些字段值在单个阵列的最佳方式来保存为会话变量?

What is the best way to capture all of these field values in a single array to be stored as SESSION variables?

推荐答案

在为了做到这一点,你将有你的表单数据发布到第二个页面并分配会话变量在那里。

In order to do this you will have to post your form data to a second page and assign your session variables there.

在他们分配给您就能只要该会话处于活动状态的任何地方访问这些网站上。

Once they're assigned you will be able to access them anywhere on the site as long as that session is active.

W3学校的教程

这篇关于HTML表单值到SESSION变量作为数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆