RE: [PHP] javascript and php again
| From: | (Edward Peloke) | Date: | Wed, 13 Nov 2002 20:27:24 +0000 |
| Subject: | RE: [PHP] javascript and php again | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124296@lists.php.net to get a copy of this message | ||
so there is no way to use javascript and php together? If not, can php do
some of the cool things that javascript does? The main thing I am looking
for is a somthing like this:
http://www.dynamicdrive.com/dynamicindex1/popit.htm
but I want the options
built from the db by mysql.
Thanks,
Eddie
-----Original Message-----
From: Marek Kilimajer [mailto:kilimajer@webglobe.sk]
Sent: Wednesday, November 13, 2002 2:43 PM
To: PHP
Subject: Re: [PHP] javascript and php again
php doesn't understand javascript, php executes on the server and
javascript on the client side.
Edward Peloke wrote:
>I have some javascript that by itself, runs fine in a php file but, when I
>enclose it in php...
>
><?
>if (!variable)
>{
>?>
>
>---insert java here
>
><?
>}
>?>
>
>Then is does not work...is there a trick to this? Can this not be done?
>
>Thanks,
>Eddie
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php