How to load youtube video url in jw player in cakephp
How to load youtube video url in jw player: 1) If you want to load the youtube video in the jw player then first go to the view file where you have put the jw player. 2) After go to
How to export sample csv in cakephp
How to export sample csv in cakephp : 1) If you want to export any file in cakephp then put the following lines in your view file where you want to add this functionality. echo $this->Html->link(Export Sample Csv, array(‘controller’ =>’Test’,

How to create cronjob in cPanel ?
First Login in to the your cpanel. After login in cpanel go to the cronjob section. 3. in cronjob section add the cron job command and add the time , minutes etc. in the from. 4. and click on the

Create bar chart in cakephp
First add the 2 js files in page where you want ‘jquery.flot.min.js’, ‘graph.js’. after include the js. var graphData = [{ data: [[0,0],[1,10],[2,0],[3,0],[4,18],[5,15],[6,18],[7,5],[8,3],[9,1],[10,0],[11,8],[12,6],[13,1],[14,0],[15,0],[16,0],[17,0],[18,6],[19,3],[20,1],[21,8],[22,0],[23,11],[24,0],[25,2],[26,0],[27,11],[28,11],[29,5]], color: ‘#ef4a01’ }]; $.plot($(‘#graph-lines’), graphData, { series: { points: { show: true, radius: 5 }, lines: {
How to use ZipArchive class to extract zip file in php
Here are the question is, we can use php ZipArchive class to extact any zip file by code in your user defined directory. 1) The function which perform this functionality is , function extractZip($sourceFile, $Targetpath) { $zipObject = new ZipArchive();