[Xitami] lots of good replies..
Hugo Notti
xitami@lists.xitami.org
Tue, 25 Dec 2001 04:27:40 +0100
What do you mean by "...something fancier than CGI forms..."?
While Javascript is (in almost all cases) executed inside the browser
(client side), PHP is executed on the server (server side). So the browser
"talks" to the server in Javascript and the server "replies" in PHP (which
is a somewhat misleading description because the server only returns HTML
code which has been generated by parsing the PHP upon the browsers request
generated by Javascript on in another way).
Inside a document, PHP and Javascript are distinguishable by their enclosing
tags. So they can both, coexist and interact. It works as well (or even
better) as communication by a mixture of letters, email, fax, phone and
personal meetings.
Go to www.php.net and read the tutorial for beginners. This will help you
much more because then you can actually see PHP.
Good luck,
Hugo
----- Original Message -----
From: "Alvaro E. Siman" <alsiman@cofs.net>
To: <xitami@lists.xitami.org>
Sent: Monday, December 24, 2001 8:56 PM
Subject: RE: [Xitami] lots of good replies..
> How does PHP work (or not) with JavaScript. Neither of them is compiled.
>
> If you want to do something fancier than CGI forms for interactivity with
a
> database, can PHP interact and coexist with JavaScript interfaces??
>
> Alvaro
>
>
>
>
> REPLY TO:
> "One strength of PHP seems to be database interaction.
>
> Same as Perl, PHP is a scripting language that is not compiled.
>
> PHP is available for all major (and many minor) Servers and operating
> systems."
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>