471,603 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,603 software developers and data experts.

page refresh problem

121 100+
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' >
&nbsp;<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>
Nov 6 '07 #1
1 2463
drhowarddrfine
7,435 Expert 4TB
When anyone speaks of flickering and IE on submit or refresh, I immediately think of FOUC, ie, "Flash of Unstyled Content". Look at that and see if it applies to you.
Nov 6 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Rick | last post: by
3 posts views Thread by Scott | last post: by
6 posts views Thread by LisaMark0822 | last post: by
6 posts views Thread by iwearwatches | last post: by
1 post views Thread by ppatel | last post: by
8 posts views Thread by Judy Ward | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.