Thread
:
not working on a php page
View Single Post
#
2
(
permalink
)
05-22-06, 03:10 PM
Nico
Community Leader
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
It should work in both. PHP files are locally the same than HTML files. Only the extension changes. What you could try is to put the script in an extern .js page, and include it like this in your PHP page.
Code:
<script type="text/javascript" src="script.js"></script>
__________________
Zend Certified Engineer
|
My Twitter
|
HotScripts' Blog
|
HotScripts' Twitter
|
How to ask questions the smart way
Nico
View Public Profile
Visit Nico's homepage!
Find all posts by Nico