Forum Moderators: coopster
would the code something like this?:
<div id="main">
<script language="javascript">
function newpage(inc){
document.write("<?php include(' + inc + ')?>")
}</script>
</div>
electricocean
From your function there I can see what you are trying to do, but unfortunately it's beyond the ability of PHP. Perhaps you could put something in a frame/iframe if you needed portions of your page to change.