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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>    [EMAIL PROTECTED]
>
>   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
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to