Re: php, javascript
| From: | Michael Sweeney | Date: | Fri, 31 May 2002 20:27:46 +0000 |
| Subject: | Re: php, javascript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100162@lists.php.net to get a copy of this message | ||
On Friday 31 May 2002 13:18, Gerard Samuel wrote:
> Just a general question. Is it possible to embed php in pure
> javascript/dhtml code??
> I tried but it didn't work, not sure if it was me or its not possible.
> Thanks...
As long as you enclose the PHP code in script delimiters (<?php ... ?>) and
make sure it is interpreted before sending it back to the browser, it should
work. Show us the code you're trying that didn't work. Maybe we can give more
meaningful answers.
..michael..