how to access php file in index.html
Posted: Mon Feb 01, 2010 3:31 am
hai i want to call php file in index.html how can i use it.....
iam using iframe and .php file is opening properly but when i select the value from select box and pass to next page its passing the value but the result is shown in that partucular area only. i want when i select the value and submit it . it will open new window and display the result...................
index.html code are
<script type="text/javascript">
var iframesrc="callDistblock.php"
document.write('<iframe id="datamain" src="'+iframesrc+'" width="275px" height="100px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="No"></iframe>')
</script>
Thanks
iam using iframe and .php file is opening properly but when i select the value from select box and pass to next page its passing the value but the result is shown in that partucular area only. i want when i select the value and submit it . it will open new window and display the result...................
index.html code are
<script type="text/javascript">
var iframesrc="callDistblock.php"
document.write('<iframe id="datamain" src="'+iframesrc+'" width="275px" height="100px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="No"></iframe>')
</script>
Thanks