enihoxhalli Posted June 25, 2008 Share Posted June 25, 2008 Hey hi all!!!! I've downloaded a php script: Random Link Script. Now the thing i wanna do is adding this script to my html web page but not with a <a href>(not hyperlinked) i wanna show this in a format box or other way... Can anyone help me??? Thanks in advance... Quote Link to comment https://forums.phpfreaks.com/topic/111880-random-link-php-script-help/ Share on other sites More sharing options...
ohdang888 Posted June 25, 2008 Share Posted June 25, 2008 post the script Quote Link to comment https://forums.phpfreaks.com/topic/111880-random-link-php-script-help/#findComment-574238 Share on other sites More sharing options...
enihoxhalli Posted June 25, 2008 Author Share Posted June 25, 2008 Here's the script... [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/111880-random-link-php-script-help/#findComment-574286 Share on other sites More sharing options...
ohdang888 Posted June 25, 2008 Share Posted June 25, 2008 you can't put php code in an html file... It has to be a ".php" file... rename it.. for example/// change index.html into index.php, and then put that code in there, and it works. Quote Link to comment https://forums.phpfreaks.com/topic/111880-random-link-php-script-help/#findComment-574371 Share on other sites More sharing options...
Russellwoot Posted June 28, 2008 Share Posted June 28, 2008 i tihnk in the layer or werever u want it to show i think u put <?php include ('yourfilehere.php'); ?> Quote Link to comment https://forums.phpfreaks.com/topic/111880-random-link-php-script-help/#findComment-576512 Share on other sites More sharing options...
Russellwoot Posted June 28, 2008 Share Posted June 28, 2008 and yea u can put php in an html page im pretty sure... Quote Link to comment https://forums.phpfreaks.com/topic/111880-random-link-php-script-help/#findComment-576513 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.