Re: Access javascript from php
| From: | El Bekko | Date: | Thu, 06 Apr 2006 15:52:47 +0000 |
| Subject: | Re: Access javascript from php | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26823@lists.php.net to get a copy of this message | ||
Alf Stockton wrote:
I have written my program in such a way that all the html is separate from my php but now I need to include a piece of javascript within the php but the php is very unhappy with <script type="text/javascript">, telling me Parse error: syntax error, unexpected '<' on that line. How do I do this?Err... echo '<script type="text/javascript">'; should do it.