<div id="calendar2"><?php include(?><script type="text/javascript">calendar()</script><?php )?></div>
I have the above code. The variable "calendar()" is being passed to div calendar2.
I want to incorporate the javascript variable inside an "include" statement.
I know my syntax is wrong but have tried every variation I can think of to no avail.
Can anyone help.
Thank you