Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
21627 kshitij.so 1
<?php
2
 
3
	$year = date('Y');
4
	$month = date('m');
5
 
6
	echo json_encode(array(
7
 
8
		array(
9
			'id' => 111,
10
			'title' => "Event1",
11
			'start' => "$year-$month-10",
12
			'url' => "http://yahoo.com/"
13
		),
14
 
15
		array(
16
			'id' => 222,
17
			'title' => "Event2",
18
			'start' => "$year-$month-20",
19
			'end' => "$year-$month-22",
20
			'url' => "http://yahoo.com/"
21
		)
22
 
23
	));
24
 
25
?>