dynamic data

Hello,

I want to load the dynamic data through php file

example
scheduler.init(‘scheduler_here’,new Date(2011,0,6),“unit”);
scheduler.load(“dynamic.php”);

But this code is not working. I got the xml output in alert but not display in calander

But If I replace the dynamic.php to static dynamic.xml file then it is working fine.

What do we need to do for dynamic data loading ?

Thanks in advance.

Be sure that you php file contains

header("Content-type:text/xml");

if problem still occurs try to load dynamic.php directly in browser it will show more details about xml parsing error