i am having an output problem and i can't seem to trace the problem, here is the code:
sample.js
var m_names = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var cmonth = myDate.getMonth();
var cdate = myDate.getDate();
var temp1 = m_names[cmonth];
var tempo = escape(temp1 + " " + cdate);
document.cookie=fcookie"=" + tempo;
output.php
<?php echo implode($_COOKIE)?>
and it displays
713qnihjmdt7mdq8eejvlcd1q1
but i want to display the date stored in the tempo variable,
i tried dispaying the tempo variabe directly and it dispalyed the right output,
any suggestions? i think i need to add a code in the php side.