I have been trying to insert rotating banners on my site though js. For some reason I cannot insert more than one JS without them disappearing. When I view the js through a php it works fine. Here is an example
http://www.hificornershop.co.uk/banners/top.php
rotate.js is on my server and top.php has js code insert to read it
I have then displayed the php file through an iframe on my site but I find the iframe a pain. Is there anyway I can display the php file without an iframe, hopefully through html code I can copy into my site.
You can “display” a PHP file that outputs HTML by simply including it somewhere in your source.
By putting that somewhere in your page, whatever
myfile.phpoutputs will get inserted in that spot. So, if you have a script that displays a random banner every time the page loads, you can include that file in your page and it should work.