Question on PHP Language?

  • Thread starter Thread starter Keskin K
  • Start date Start date
K

Keskin K

Guest
Well im pretty new to PHP. I had a question

I have a javascript page and i want to hide the code from the browser by using PHP.

I wrapped all the javascript code in <?php ?> and echoed everything within it but it still shows my code, so i have 2 questions.

1.Can i hide the echoes from the view source? if not..
2. Does PHP have a function like javascript like document.getElementByID.value etc.?

thanks very much.
 
Back
Top