Title: php Include  and Java script on a page
Last modified: August 19, 2016

---

# php Include and Java script on a page

 *  [wesburke](https://wordpress.org/support/users/wesburke/)
 * (@wesburke)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/php-include-and-java-script-on-a-page/)
 * Hello,
 * Here is my link in question:
    [http://www.cgcookie.com/articles/using-the-bridge-modifier-3ds-max](http://www.cgcookie.com/articles/using-the-bridge-modifier-3ds-max)
 * The main flash player is using java script, and in the bottom right empty space
   I am attempting to pull a PHP include that includes another java script.
 * I am 3D artist for the day job and working to tackle the web stuff at night.
 * Here is my PHP Code:
 * <?php include (TEMPLATEPATH . ‘/advert_inc.php’); ?>
 * Here is the java I am attempting to show up on the page. This java is contained
   inside of the advert_inc.php
 * <script type=”text/javascript”>
    Vertical2260 = false; ShowAdHereBanner2260 =
   true; RepeatAll2260 = false; NoFollowAll2260 = false; BannerStyles2260 = new 
   Array( “a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;
   margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}”,“
   img{border:0;clear:right;}”, “a.adhere{color:#666;font-weight:bold;font-size:
   12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}”, “a.adhere:
   hover{border:1px solid #999;background:#ddd;color:#333;}” );
 * document.write(unescape(“%3Cscript src='”+document.location.protocol+”//s3.buysellads.
   com/2260/2260.js?v=”+Date.parse(new Date())+”‘ type=’text/javascript’%3E%3C/script%
   3E”));
    </script>
 * Am I just missing something?
 * cheers,
 * W

The topic ‘php Include and Java script on a page’ is closed to new replies.

## Tags

 * [java](https://wordpress.org/support/topic-tag/java/)
 * [page](https://wordpress.org/support/topic-tag/page/)
 * [php include](https://wordpress.org/support/topic-tag/php-include/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [wesburke](https://wordpress.org/support/users/wesburke/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/php-include-and-java-script-on-a-page/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
