robmonie / jquery-week-calendar

Now actively maintained in the following fork - https://github.com/themouette/jquery-week-calendar
388 stars 391 forks source link

Doesnt Work on Windows #38

Open Jburley89 opened 12 years ago

Jburley89 commented 12 years ago

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))); }