PHP won't echo out or execute JavaScript -


I need PHP to open a new window with a text of the variable.

Here's what I tried.

  echo " $ myWin = window.open ('', '$ myWin', 'menu bar, scrollbar, left = 30px, top = 40px, height = 800px , Width = 800px '); $ myWin.document.write (". $ Logtext."); & Lt; / script & gt;  

But it does not work. Any better ideas or suggestions? Thanks!

First of all, $ myWin can be just in JS:

  my_window = window.open ('', 'mywindowname', 'position = 1, width = 350, height = 150'); My_window.document.write ('"$ myphpstring ..' ');  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -