
September 14th, 2000, 05:40 PM
|
|
Contributing User
|
|
Join Date: Sep 2000
Posts: 763
Time spent in forums: 1 Day 5 h 29 m 25 sec
Reputation Power: 0
|
|
|
Hi
You should be able to, if you do this
<?php $phpvar = "hello"?>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
var myvar = "<?php echo $phpvar ?>"
document.write(myvar)
//-->
</SCRIPT>
This works, I tried it on my server.
------------------
2 Samuel 7:10 Moreover I will appoint place for my people Israel, and will plant them, that they may dwell in a place of their own, and move no more; neither shall the children of wickedness afflict them any more, as beforetime,
[This message has been edited by Eclipce (edited September 14, 2000).]
|