robmonie/jquery-week-calendar — Issue #38: Doesnt Work on Windows
Author: Jburley89
Created: 2011-12-12 16:47:59+00:00
State: open

Hi, i'm using the below code to get data from the databse, it works perfectly on Linux OS's but does not work at all on windows, i've checked many browsers on Different Os's and its only windows that seems to have an issue.

Could anyone shed any light on this?

Thanks in advance,

Josh Burley.

while ($r = $db->fetchRowAssoc()) {
$r["free"] = false;
$row[] = $r;
}
$db->nextResult();
$row2 = array();
while ($r2 = $db->fetchRowAssoc()) {
$r2["cantResize"] = true;
$row2[] = $r2;
}
$db->closeResult();
$db->closeConnection();
$d = array('options' => array('defaultFreeBusy' => array('free' => true)), "freebusys" => $row, 'events' => $row2);
echo urldecode(stripslashes(json_encode($d)));
}