By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,686 Members | 1,510 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,686 IT Pros & Developers. It's quick & easy.

page refresh problem

P: 121

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


Code: ( php )





Code: ( php )
<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>


Code: ( php )
<form method='post' action='template.php'>

<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; ?>'\
<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'>


<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>
foreach($_POST as $key => $value) {

echo $key;
echo $value;




Code: ( php )
<tr><td align='center' bgcolor='orange' height='10%'><h1>Footer</h1></td></tr>
Nov 6 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 7,435
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.