作者dowbatw (Dowbatw)
看板PHP
标题Re: [请益] 请问网路问卷设计关於分页的问题
时间Sun Feb 24 11:24:47 2008
我看过一个函数你也可以拿来用
serialize() and unserialize()
可以利用这个变数将变数$_POST跨页传递,很方便
怎麽都没有人推这个function呢? XD
范例请见
http://163.23.89.100/~chi/blog/index.php?load=read&id=106
(别忘了搭配base64_endcode以及base64_decode使用以免遇到 forbidden characters)
要顺带一提的是,这个函数百分之百是没有使用SQL作为资料储存之处时
最好用,最适合作为储存资料的函数
想当初我苦心造诣的为自己的程式设计纯文字储存栏位时遇到一堆错误
想不到看了这个函数的功用之後,大叹光阴荏苒,当初的蠢行为让我耗去不少岁月啊
--
“The prime and necessary object of all existence is to be happy… But happy
cannot be obtained individually; it is useless to expect isolated happiness;
all must partake of it, or the few will never enjoy it.”
- Robert Owen (1771-1858)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.119.196.145
※ 编辑: dowbatw 来自: 140.119.196.145 (02/24 11:54)
※ 编辑: dowbatw 来自: 140.119.196.145 (02/24 12:00)
1F:推 chadjye:推..以前都没注意到它过 02/24 19:12
※ 编辑: dowbatw 来自: 140.119.196.145 (02/25 00:31)