473,656 Members | 2,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

page refresh problem

121 New Member
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.p hp");

include("conten t.php");

include("foot.p hp");

?>



--------------------------head.php----------------------------

Code: ( php )
<html>
<body style="backgrou nd-image: url('back.gif') ;">
<table width=80% height=100% border=1 align='center'>
<tr><td align='center' bgcolor='orange ' height='10%'><h 1>Header</h1></td></tr>


----------------content.php----------------------------

Code: ( php )
<form method='post' action='templat e.php'>
<tr><td>

<input type=image src="amarok_rew ind.png " title="rewind" name='fbwd' value='submit'> <input type=image name='bwd' src="amarok_bac k.png" titl\
e="back"> <input type="text" size=3 name='txt' align='center' value='<?php echo $id.$bknno.$bki d.$nno; ?>'\
readOnly>
<input type=image name='fwd' src="amarok_nex t.png" title="next" value='fwd' >
&nbsp;<input type=image name='frwd' src="amarok_fas tforward.png" title="fastforw ard" value='submit' alt='fastforwar d'>

</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><inpu t 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%'><h 1>Footer</h1></td></tr>
</table>
</body>
</html>
Nov 6 '07 #1
1 2532
drhowarddrfine
7,435 Recognized Expert Expert
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

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

Similar topics

6
2948
by: Rick | last post by:
Hi folks, I have a web page I wrote for a class assignment (which I embellished a little) that doesn't seem to work on all browsers, platforms, etc. The problem appears to be that the page doesn't refresh completely when the page calls it self. The refresh (which should happen when the form action fires) should reload a file into an iFrame, but it doesn't. I do have 3 submit buttons on one form, but it works well for me. On the...
6
3331
by: Ed | last post by:
I first noticed this in my own app. Images would show up missing randomly on IE 6.0.2800.1106 on Windows 2000 server. I then was able to repro this problem on Microsoft's website!!! The page I used was http://www.microsoft.com/windows/ie/downloads/critical/ie6sp1/default.asp After pressing to refresh the page six times, I noticed missing images on the page. This problem seems to be very reproducible. I coded a sample ASP page...
3
12912
by: Scott | last post by:
I have a clickable graph that resides on page 1. If user clicks a data point on the graph, the page runs again yeilding a 2nd graph that shows a more detailed graph. Problem is, I have a recordset table on the 2nd graph page and because the user gets to it by clicking the graph, the page doesn't properly post to render the recordset table. I can click "Refresh" on 2nd page and table displays fine. Is there an ASP refresh command that...
2
1604
by: swp | last post by:
I have a site created using ASP, HTML, and JavaScript. I use frames to manage a few things, and requires SSL to connect. The site is on a secured network, not meant to be cross-browser compatible, and only works with IE 5.5 or higher. IIS v5 is used, with all patches applied. "Keep Alives" are enabled. I have a login page that uses session variables to know things about who logged in, such as preferences and what rights they have. I...
6
1218
by: LisaMark0822 | last post by:
I have an asp page that gets populated from a SQL Server database. Normally when the page gets displayed it displays the current record from a select statement that can return lets say seven records. The problem I am having is when I click the refresh button in IE, the page displays another record instead of the record it was displaying before I clicked on the refresh button. I cannot figure out why it is doing this. Has anyone...
6
3972
by: iwearwatches | last post by:
Group, What a root canal. Here is what I have: I have a page that has several layers that I will either show/hide based on a graphic/tab that the user clicks. (works perfectly)
5
5184
by: Bill Cohagan | last post by:
I'm constructing an ASP app with a frameset on the home html page. From frame A I need to referesh the page in frame B when a button click occurs on a button in Frame A (server side event handler). To accomplish this I've included some client side script in the page being built in frame A such that whenever it is received by the browser it reloads frame B's page. The problem is that (sometimes) this sequence of events produces a dialog...
5
2419
by: Dan | last post by:
We have a simple site. It's a frameset with two frames a left and a right. The left frame is essentially a list of records from a database (using a server-side repeater control). When you click on one of the items in the left frame, it targets the right frame and displays a form prefilled with information for the item you clicked. The problem is the left frame's list just shows the names of the items, and the name of the item is...
1
3353
by: ppatel | last post by:
Problem I have a problem with web image button control click event. The click event does not get trigger until it has not been clicked once or page refresh occures(which is fine). When click event fires first time it executes code associate with click event(As I expected). the problem is when you refresh page it fires a click event automatically. I looked around many posts and did not find any topics about this problem. Infact the same...
8
2859
by: Judy Ward | last post by:
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based authentication and think I know how to accomplish this part. My problem is that the top frame does not reload to get to the "If User.Identity.IsAuthenticated Then". Please don't tell me I shouldn't be using frames; this is a school assignment and the...
0
8380
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8296
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8497
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8598
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4299
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2721
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1598
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.