Re: php & JavaScript
| From: | 1LT John W. Holmes | Date: | Mon, 24 Jun 2002 14:26:25 +0000 |
| Subject: | Re: php & JavaScript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103596@lists.php.net to get a copy of this message | ||
Can you please explain what you're doing more?
PHP and Javascript are completely different. PHP happens first, on the web
server, to create code to send to the browser. The browser then interprets
this code, executes any javascript, etc, and displays the page. You can't
have both at the same time. Each one can send information back to the other,
but it needs to happen with a page refresh...
Are you sure your server is even set up for PHP?
---John Holmes...
----- Original Message -----
From: "Luis Miguel N. Tavora" <lmtavora@estg.iplei.pt>
To: <php-general@lists.php.net>
Sent: Monday, June 24, 2002 7:28 AM
Subject: [PHP] php & JavaScript
> Hi there.
>
> I've tried to include a simple javascript in a .php file,
> but couldn't get it to work.
>
> Actually not even the php code worked at all...
>
> Is there any specific configuration flag that needs to be
> set up in the Apache server so that the javascripts work
> correctly?
>
> Thanks in advance
>
> Luis
>
> PS- Btw, I use an Apache server on a RH72 machine
>
>
>
> ------------------------------
> Luis Miguel N. Távora
> lmtavora@estg.iplei.pt
>
> Message sent via Sylpheed
> sylpheed-claws.sourceforge.net
> ------------------------------
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>