[prev in list] [next in list] [prev in thread] [next in thread]
List: php-windows
Subject: [PHP-WIN] Re: Access javascript from php
From: 80.200.86.239
Date: 2006-04-06 15:52:47
Message-ID: 8B.CE.09839.24935344 () pb1 ! pair ! com
[Download RAW message or body]
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.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic