Help On Adding Javascript Code to PHP (basic question)

Discussion in 'PHP' started by procrastinator, Mar 16, 2007.

  1. #1
    Im trying out script easyimagehoster for a image hosting site.

    I wanted to add javascript code to the index php file so that it can show some ads.

    this is the code, ive edited out the code of the add and its description

    <script language="JavaScript" src="ADDID/ads.php?type"></script>
     
    procrastinator, Mar 16, 2007 IP
  2. fscripting

    fscripting Banned

    Messages:
    288
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <script LANGUAGE="Javascript" SRC="http://yourdomain/ads.php?type"><!--
    //--></script>
    Code (markup):
    That will work well
     
    fscripting, Mar 17, 2007 IP