PHP and Javascript tutorial links needed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • leegold2

    PHP and Javascript tutorial links needed

    Can anyone recommend links that explain esp. show examples of how to use
    PHP and javascipt in the same page? Thanks. Lee G.
  • Tony Marston

    #2
    Re: PHP and Javascript tutorial links needed

    You don't actually *use* PHP and JavaScript on the same page as PHP is
    server-side and JavaScript is client-side. With PHP you construct an HTML
    document which may or may not contain any JavaScript, and after sending this
    document to the client browser the PHP process dies. Whatever happens in the
    client browser is outside the control of PHP until another HTTP request is
    generated.

    --
    Tony Marston

    This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL




    "leegold2" <leegold@nospam .net> wrote in message
    news:sp8jd.2196 $DB.1685@trnddc 04...[color=blue]
    > Can anyone recommend links that explain esp. show examples of how to use
    > PHP and javascipt in the same page? Thanks. Lee G.[/color]


    Comment

    • leegold2

      #3
      Re: PHP and Javascript tutorial links needed

      Tony Marston wrote:[color=blue]
      > You don't actually *use* PHP and JavaScript on the same page as PHP is
      > server-side and JavaScript is client-side. With PHP you construct an HTML
      > document which may or may not contain any JavaScript, and after sending this
      > document to the client browser the PHP process dies. Whatever happens in the
      > client browser is outside the control of PHP until another HTTP request is
      > generated.
      >[/color]
      Well, here's one:



      Comment

      Working...