Quote:
Originally Posted by Vonx
i need an answer in the next 10 mins!
|
Do you? What about "please"?
Two possible reasons why the external file will not work:
a) It is placed in the wrong directory.
b) It contains HTML tags such as <script>
Also, the para with id "demo" must exist before the script is run. So you must place the call to your external file after the para. That is one reason why it is best to place scripts immediately before the </body> tag.
It is your responsibility to die() if necessary….. - PHP Manual