新手(100分)求插入函数,请高手帮忙.


求PHP插入函数,前台需要时间控件,所选时间插入后台SQL中,请高手帮忙.谢谢  
   
  前台:  
   
  <a   href="synx.php?w=XXJT"   target="mainFrame">新装小灵通业务量1(日统计)</a>    
   
  后台SQL:  
   
  'XXJT'=>array("means"=>'新装小灵通业务量(日统计)1','sql'=>"select   b.bureau_no,count(DISTINCT   a.ord_no)    
  from   ibss.tba_ask_list   a,ibss.tsm_site   b,ibss.tba_phs_ask   c  
  where   a.sequ='0'  
  and   a.state<>'6'  
  and   a.serv_no   like   '1J%'  
  and   a.ord_no=c.ord_no  
  and   a.site_no=b.site_no  
  and   a.CREATE_date>=to_date('2005-04-21   00:00:00','yyyy-mm-dd   hh24:mi:ss')  
  and   a.CREATE_date<=to_date('2005-05-20   23:59:59','yyyy-mm-dd   hh24:mi:ss')  
  group   by   b.bureau_no   "  
   
   
  不胜感激   谢谢  
   
  也可以联系我QQ:63055077     谢谢  
   
 

1楼

自己顶下,谢谢高手帮忙

2楼

自己顶下,谢谢啊     如果分不够可以联系我再给

3楼

汗!   你怎么发这里来了阿    
  发WEB   PHP版啊

4楼

我自己再顶下   谢谢