Thank yes I have made a start and got below dont understand this line tho...

 case 'load':
   
   
$ff=join('',file(stripslashes($_REQUEST['reportname']).'.'.$_REQUEST['reportid'].'_sql'));
   echo $ff;
 break;



 <cfset path = ExpandPath("/")>
 <cfdirectory action="list" directory="#path#" name="dirQuery" 
filter="*.9000_sql">

 

 
  <cfdump var="#reportid#">
 
 <cfswitch expression="#op#"> 
  <cfcase value="load"> 

  </cfcase> 
  
  <cfcase value="save"> 

  </cfcase> 
  
  <cfcase value="list"> 
  <cfoutput>
   <ul class='treeview' id='treeview_#reportid#'>
        <li class='list'>Saved Reports
        <ul>
        <cfloop query="dirQuery"> 
        <li class='item'>#Replace("#dirQuery.name#",".9000_sql", " ")#</li>   
        </cfloop>                 
        </ul>
        </li>
  </ul>  
  </cfoutput>
  </cfcase> 
 
 
 
   
    <cfdefaultcase> 
    </cfdefaultcase> 
 </cfswitch> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332410
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to