gogo-数组里面的信息显示有关问题

WBOY
Release: 2016-06-13 12:12:26
Original
1001 people have browsed it

gogo----数组里面的信息显示问题
数组里面的数据如下

<br />Array<br />(<br />    [0] => Array<br />        (<br />            [tagname] => sa1<br />            [flag1] =>  <br />            [commid] => sa1<br />            [type] => 0<br />            [code] => Array<br />                (<br />                    [0] => 1 <br />                    [1] => 2 <br />                )<br /><br />            [opname] => Array<br />                (<br />                    [0] => sa1_a<br />                    [1] => sa1_b<br />                )<br /><br />            [sama_size] => 2<br />        )<br /><br />    [1] => Array<br />        (<br />            [tagname] => ma1<br />            [flag1] =>  <br />            [commid] => ma1<br />            [type] => 2<br />            [code] => Array<br />                (<br />                    [0] => 1 <br />                    [1] => 2 <br />                )<br /><br />            [opname] => Array<br />                (<br />                    [0] => ma_1<br />                    [1] => ma_2<br />                )<br /><br />            [sama_size] => 2<br />        )<br /><br />)<br />
Copy after login

在页面上创建一个table。然后显示数据。要实现的功能要按照下面提供的代码格式写,
<{assign var="temp_type" value=$selList[loop].type }>
<{$allarr_account_type[$temp_type]}>

------解决思路----------------------
还是处理你上次提交过来的数据吗
<br /><br />Array ( [mode] => SETPOINT [snstabId] => 49 [webctrl_page_token] => dd4be4ef0d797d21eeee32267ccfe87d [sel_c_id] => [topscrollleft] => 0 [p] => 1 [searchFlag] => page [member_id] => 1000257015 [pageSize] => 20 [orderby] => member_id [orderbyType] => desc [point] => fdfds [searchMembernickname] => [searchMemberId] => [topictimes1] => [topictimes2] => [pictimes1] => [pictimes2] => [setPointM] => [members] => Array ( [0] => 1000257015 [1] => 1000257014 [2] => 1000256473 [3] => 1000255958 [4] => 1000255957 [5] => 1000255755 [6] => 1000255751 [7] => 1000255750 [8] => 1000255748 [9] => 1000255747 [10] => 1000199511 [11] => 1000031784 [12] => 1000031760 [13] => 1000031716 [14] => 1000031715 [15] => 1000031714 ) [1000257015_point] => fdfds [1000257014_point] => [1000256473_point] => [1000255958_point] => [1000255957_point] => [1000255755_point] => [1000255751_point] => [1000255750_point] => [1000255748_point] => [1000255747_point] => [1000199511_point] => [1000031784_point] => [1000031760_point] => [1000031716_point] => [1000031715_point] => [1000031714_point] => ) <br />
Copy after login

这是你点击按钮时提交过去的数据,你在你的程序里 重新打印一下
echo "

";<br>print_r($_POST);die();<br>打印你自己看看 结果,然后告诉我你想怎么弄?说的详细点。<br><br><font color="#FF8000">------解决思路----------------------</font><br>具体是哪个问题? 上次的那个?还是新的问题? 你要怎么处理?你给的tpl参考代码 是什么意思?如果 实现图片效果,直接循环不就行了?现在问题是什么 我还没弄明白,再详细点?<br><font color="#FF8000">------解决思路----------------------</font><br>只有 code 和 opname有可能是数组,对吗?有没有其他元素也是数组的? code 和 opname 他们这个数组长度是固定的吗,现在他们都是2个,有没有可能是三个 四个?<div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template