hi,
here i am facing some problem regarding the page refresh
below i am sending my code please go through...
in that i am including head.php, content.php, foot.php files into a single file called template.php
in that i have one form, once i click the submit button page is refreshing( refreshing in the sense slightly flickering) that should not be happen for me.
all these problems i am facing in IE(6.0) and above browser, but int Firefox it's not flickering, means page remains constant.
anybody knows solution for this please reply me
thank you
here i am attaching
-------------TEMPLATE.php-----------------------------
Code: ( php )
<?php
include("head.php");
include("content.php");
include("foot.php");
?>
--------------------------head.php----------------------------
Code: ( php )
<html>
<body style="background-image: url('back.gif');">
<table width=80% height=100% border=1 align='center'>
<tr><td align='center' bgcolor='orange' height='10%'><h1>Header</h1></td></tr>
----------------content.php----------------------------
Code: ( php )
<form method='post' action='template.php'>
<tr><td>
<input type=image src="amarok_rewind.png " title="rewind" name='fbwd' value='submit'> <input type=image name='bwd' src="amarok_back.png" titl\
e="back"> <input type="text" size=3 name='txt' align='center' value='<?php echo $id.$bknno.$bkid.$nno; ?>'\
readOnly>
<input type=image name='fwd' src="amarok_next.png" title="next" value='fwd' >
<input type=image name='frwd' src="amarok_fastforward.png" title="fastforward" value='submit' alt='fastforward'>
</td></tr>
<tr><td align='center' bgcolor='green'>
<table bgcolor=white>
<tr><td>Name</td><td><input type='text' name='n1'></td></tr>
<tr><td>Name</td><td><input type='text' name='n2'></td></tr>
<tr><td>Name</td><td><input type='text' name='n3'></td></tr>
<tr><td>Name</td><td><input type='text' name='n4'></td></tr>
<tr><td>Name</td><td><input type='text' name='n5'></td></tr>
<tr><td><input type='submit' name='sub' value='Submit'></td></tr>
<tr><td>
<?php
foreach($_POST as $key => $value) {
echo $key;
echo $value;
}
?>
</td></tr>
</table>
--------------------------------footer.php----------------------------------------------------
Code: ( php )
<tr><td align='center' bgcolor='orange' height='10%'><h1>Footer</h1></td></tr>
</table>
</body>
</html>