Re: PHP and JavaScript
| From: | sam rumaizan | Date: | Sat, 12 May 2007 07:31:13 +0000 |
| Subject: | Re: PHP and JavaScript | ||
| References: | 1 | Groups: | php.windows php.windows |
| Request: | Send a blank email to php-windows+get-27876@lists.php.net to get a copy of this message | ||
In PHP when you click on the menu text Update The Record the menu doesnt open it takes you to
another page. But in HTML when you click on the menu text Update The Record the menu dose open.
<A HREF='page1.html' onClick='return
toggleMenu('menu1')'>Update The Record</A>
</H3>
Niel Archer <spamfree@blueyonder.co.uk> wrote:
Hi
> Can some one explain to me why this code (Sliding menus) works fine with HTML but it doesnt
> work with PHP?
Please define 'doesn't work', as it does exactly the same for me whether
PHP or HTML.
BTW hopefully a typo, but your example has no tag only the
closing one.
I also wouldn't spread a string over several lines like that without
using "here document" syntax, as I'm not sure echo supports it.
Niel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.