Jump to content

[SOLVED] HTML commands within PHP


nikky_d16

Recommended Posts

Hi, I am very very new to PHP, im using oscommerce to set up a web store. Basically i need to know how to put the code

<script>
window.location="http://www.welshit.co.uk/suport";
</script>

 

on a php page so that when the "support.php" page is clicked on its redirected to this link instead. I know there is probably a way of putting  a redirect in PHP rather than trying to integrate html code, but i dont know how to do that either. If anyone could help i would greatly appreciate it

 

Many Thanks

 

Nikky

Link to comment
https://forums.phpfreaks.com/topic/38642-solved-html-commands-within-php/
Share on other sites

Ahh, ive done it now thank you, i had tried just putting it in the code but it didnt work, but i tried again putting it at the end after the exisiting code that was already on the page and that seemed to do the trick. Thank you for help, i feel like a complete idiot with all the coding stuff!!

 

many thanks

 

nikky

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.