Home > Backend Development > PHP Tutorial > 一个PHP传递参数的问题

一个PHP传递参数的问题

WBOY
Release: 2016-06-23 14:20:31
Original
903 people have browsed it

在一个PHP网页里,内容如下, 


  
  
  
  
    
                    
                      查询范围(税款所属期) 
                      
  年 
                                          月 至 
  年 
  月 

                 
                 
                  

                  
                    


                  
                    
                    
                      
一个PHP传递参数的问题                         border=0 name=save src="sbcx_files/enter.gif" 
                        value="1">
  



                 一个PHP传递参数的问题                   width=1 height=1>
  

其中需要传递的是starttime,endtime,隐藏的。
 
 
starttime是SSSQ_Q_YEAR+SSSQ_Q_MONTH+'01'的值
endtime是SSSQ_Z_YEAR+SSSQ_Z_MONTH+‘01’的值

回复讨论(解决方案)

用js或者js的框架jquery来做  当年和月改变时,根据选择的值动态改写 
 的value值

在一个PHP网页里,内容如下, 


  
  
  
  
    
                    
                      查询范围(税款所属期) 
                      
  年 
                                          月 至 
  年 
  月 

                 
                 
                  

                  
                    


                  
                    
                    
                      
一个PHP传递参数的问题                         border=0 name=save src="sbcx_files/enter.gif" 
                        value="1">
  



                 一个PHP传递参数的问题                   width=1 height=1>
  

其中需要传递的是starttime,endtime,隐藏的。
 
 
starttime是SSSQ_Q_YEAR+SSSQ_Q_MONTH+'01'的值
endtime是SSSQ_Z_YEAR+SSSQ_Z_MONTH+‘01’的值

问题描述得不清不楚啊

传参?谁传给谁?传递什么内容?SSSQ_Q_YEAR+SSSQ_Q_MONTH、SSSQ_Z_YEAR+SSSQ_Z_MONTH是个什么东东,哪里来的?
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