こんな感じでしょうか?

for($i=0;$i>3;$i++){
print('document.getElementById(myIDdate',"$i",').innerHTML = kan[',"$i",'];');
}

もぅ少し調べてみます。助言ありがとうございます。