logicslab 15 Unverified User

Dear Friends,

With the Help of my Friend Vishnu A.R I solved the issue

my required Code is

<?php
$selectedTime = "2017-02-10 08:00,2017-02-10 07:00,2017-02-11 09:00";

$arr1 = explode(",", $selectedTime);

$arr2 = array();

foreach($arr1 as $time){
  $strtime = strtotime($time);
  $arr2[$strtime] = $time;
}
ksort($arr2); // sorting array in ascending order of key value
$arr3 = array();
foreach($arr2 as $key => $time){
  $timesplit = explode(" ", $time);

  $arr3[$timesplit[0]][] = array('start' => $timesplit[1]);
}
$output = json_encode($arr3);
var_dump($output);
?>

Thanks

Anes

rproffitt commented: Here I thought a regular expression may do. This works too. +15
logicslab 15 Unverified User

Dear dingoellis,almostbob:
I can understand the case of jQuery , I plan to make it as separate in CDN . that's good . So only 7 files need to make single one . i.e utils.js, tooltip.js, lineChart.js, legend.js, discreteBar.js,discreteBarChart.js , axis.js from the attached file list .

May I test it and give feedback .

Thanks alot @dingoellos & @almostbob

Anes

logicslab 15 Unverified User

Hi pals,
I am a Newbie in C++ Programming field. I plan to add graphics.h header class in
Dev -C++ Version 4.9.9.2 from Bloodshed which is come along with Borland Compiler.
I follow the Steps in URL : http://www.uniqueness-template.com/devcpp/#step2

But I Got Error in the Sample code which test the Working , Please Help me
to get away from this problem . I am waiting to hear from you.

Regards
Anes P.A:'(