|
A page contains <script language = 'JavaScript' type = 'text / JavaScript' src = '.. / inc / top.php'> </ script>
The code of top.php is:
document.write ('<div class = "nav" align = "center"> </ div>')
<? php
print "document.write ('<div class =' nav 'align =' center '> </ div>')";
?>
Using the one directly above makes it difficult to use the following php code. Why?
Thank you |
|