Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: ok

  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Location
    Sacramento, California
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ok

    Ok i understand how it works now but do I need to start over on all my webpages. I dought it is possible to place Jascript in a PHP unless its after it outputs it as HTML. Then would it be possible to rewrite all of my Javascript in PHP? Can PHP do everything that Javascript can do?and how might i go about that?


    much thanks
    Hairynugs


    Simple is best.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What;s this in reference to?


    PHP and javascript can both do mathematic computations, generate html, and things like that, but only javascript can manipulate the page after is has been loaded - javascript takes place on the client where PHP takes place on the server

    There are a number of ways of generating javascript from PHP - is that what you want to do?


  •  

    Posting Permissions

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