is can do

Discussion in 'Programming' started by leejohn, Nov 7, 2011.

  1. #1
    is can do the javascript emabed in PHP . please give the examle if it is possible
     
    leejohn, Nov 7, 2011 IP
  2. oortcloud

    oortcloud Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    no can do. While you can generate javascript via php, you cannot embed javascript in php - the reason being that php does all of its work on the server and javascript does all of its work in the client browser.
     
    oortcloud, Nov 8, 2011 IP