Does anyone know where or how to insert a javascript for generating random images in phpwebsite. I need it to be on the main page of my website.
Thanks in advance,
M
WTF?
To insert JS into PHP is simple
echo "<script language=javascript> //a whole wack of code here </script>";
links to random images from google search "js random photo display"
http://js-x.com/javascript/?view=662
http://www.jsmadeeasy.com/javascripts/Images/list.htm
http://javascript.internet.com/miscellaneous/
I think your response was a little rude. I know how to insert javascript into php, i was asking how to you insert it into the application PHPWebsite.
It wasnt rude at all. Remember, PHP is server side, it executes BEFORE the page is loaded... so, you cant rlly get java to activate php