Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Insert Script In Php File


asxetos

Recommended Posts

Posted

hello, i would like to ask something...

i have some code of playing online music in a web site...i want to add that code to my whole os commerce...

my code requires to add some lines after <head> element, its something like that :

 

<html>

<head>

<title>music</title>

<script>

my code...

</script>

</head>

<body>

my code too...

</body>

</html>

 

so in which file should i write my code?

 

thanks a lot

Posted
hello, i would like to ask something...

i have some code of playing online music in a web site...i want to add that code to my whole os commerce...

my code requires to add some lines after <head> element, its something like that :

 

<html>

<head>

<title>music</title>

<script>

my code...

</script>

</head>

<body>

my code too...

</body>

</html>

 

so in which file should i write my code?

 

thanks a lot

 

If you're looking to save time and everything, you might want to put it into your header.php file, that way it's on all of the pages that the user is at, and you don't have to go through 2 dozen files and insert all of your code again. the only thing that might get annoying is the refresh, submitting, or redirecting to other pages.

Archived

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

×
×
  • Create New...