Posted by Jerry Stuckle on 09/15/06 22:35
hoozdiss wrote:
> i'm trying to run scripts like site counters etc. right now i just
> have small test scripts -
>
> </head>
>
> <body>
> this is a test
> <script type="text/javascript"
> src="http://192.168.123.162/test/scriptA.php"></script>
> <br>and this<br>
> <script src="http://localhost/test/calendar.php"></script>
> try this-<br>
> <script type="text/javascript" src="scriptJ.js"></script>
> <br>
> <script type="text/javascript">
> document.write("this part works")
> </script>
> <br>
> try include
> <?php
> include("scriptA.php");
> ?>
>
> etc.
> i keep the script files in the same directory as the html-
> ...Apache2.2\htdocs\test
> if i delete them - there's a msg in the log so he knows they're there.
>
> i don't know about using script type= javasript with php - am i
> missing something here? but even the js doesn't work (except the
> inline one).
>
>
>
>
There is no difference between using a script tag in PHP and in HTML (as
long as the tags aren't in a PHP block, of course).
First of all try getting it to work in a simple html page. Once you get
it to work there, it will work in this page.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|