HTMLをPHP+Javascriptで制御する方法
✿パターン1✿
✤PHP側
$aaa = '
alert('');
alert(' \
');
✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣
✿パターン2✿
✤PHP側
$bbb = <<
parent.bottom.toroku.innerHTML = '\
\
';
HTML;
✤HTML側
;
✿パターン1✿
✤PHP側
$aaa = '
alert('');
alert(' \
');
✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣
✿パターン2✿
✤PHP側
$bbb = <<
parent.bottom.toroku.innerHTML = '\
\
';
HTML;
✤HTML側
;