is javascript allowed in php?

Discussion in 'HTML & Website Design' started by irule272, May 23, 2009.

  1. #1
    Hello I have php page and it seems like I cant get javascript working on it. Is is it allowed in .php extension?

    type="text/javascript">

    Thanks!
     
    irule272, May 23, 2009 IP
  2. servicedb

    servicedb Peon

    Messages:
    146
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Oh God:p This is the worse question ever about PHP:p Javascript has neving to do with PHP. Anyway, the syntax which you wrote there isn't correct, so javascript will never work then.
     
    servicedb, May 23, 2009 IP
  3. irule272

    irule272 Well-Known Member

    Messages:
    1,153
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    155
    #3
    ooops nevermind it's working now
     
    irule272, May 23, 2009 IP
  4. irule272

    irule272 Well-Known Member

    Messages:
    1,153
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    155
    #4
    Man stop that "Oh God", "worse question" you have there. This is a help forum and we "beginners" ask questions so that we will be able to do things the right way and be able to solve problems we are having on our codes. This is the first time I encounter such a bad poster here in this thread.
     
    irule272, May 23, 2009 IP
    pipes and Kerosene like this.
  5. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #5
    you can integrate php and javascript to query mysql. Try jquery
     
    olddocks, May 23, 2009 IP
  6. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #6
    forget javascript waste of time just forget it
     
    wd_2k6, May 23, 2009 IP
  7. Nandamuri

    Nandamuri Peon

    Messages:
    665
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks JQUERY which is a sort of combination of PHP, JS is really a very good advice. I also request you to post another source to learn JQUERY
     
    Nandamuri, May 23, 2009 IP