www.webdeveloper.com
Results 1 to 2 of 2

Thread: can i use php instead of javascript?

  1. #1
    Join Date
    Jul 2003
    Posts
    3

    can i use php instead of javascript?

    I am using javascript currently at work on our webpages. We use javascript as external scripts. The problem is sometime the scripts are not found, even though the script has been found on hundreds of the previous web pages.

    My question is, can i use php? If I can, can i use php as external scripts? How are external scripts imported into the html file?

    Thanks for your help.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    232
    It depends on which functions you are using in Javascript. If you are using client-side functions then you still have to use Javascript, otherwise you can include php-scripts.

    include ('map1/map2/file.php');

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles