473,385 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

regarding refresh code in PHP

hi all,

Actually i need the refresh code in PHP. i searched net but it all are time limit that is refresh <META HTTP-EQUIV="Refresh", content="3;URL=http://www.localhost/exp_det.php" >'.. but this code will refesh the page every 3 seconds.. but i need the code for only one time that page should be reload or refresh.. so kindly sent the code for single time refresh code in PHP
Mar 17 '07 #1
2 1618
ak1dnar
1,584 Expert 1GB
[PHP]<meta http-equiv="refresh" content="0"; URL="This_Page_Name.php">[/PHP]
Mar 17 '07 #2
devsusen
136 100+
Hi,

u r using meta tag refresh. This is not a php code. Refresh can be obtained using the php function header().

sarantvmalai, if u need to refresh the page once, means u like to refresh the page depending upon some condition. Then you may write something like

Expand|Select|Wrap|Line Numbers
  1. <?php
  2.  
  3. if(condition) {
  4.            header("Location:".$_SERVER['PHP_SELF']);
  5.            exit;
  6. }
  7.  
  8. ?>
susen
Mar 17 '07 #3

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

Similar topics

3
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...
4
by: Yogi_Bear_79 | last post by:
Self Taught here so please bear with me. I have the labelRestrictSites as private on the MainForm.cs. I then access the labelRestrictSites.Text thru the public string LabelRestrictSites from...
6
by: msnews.microsoft.com | last post by:
Hello All, I am very new to ASP.NET and I have a basic question. Can somebody please explain? I have an .aspx Web Page with a textbox control. When the Page initially loads I am calling a...
4
by: annhere | last post by:
Hi, Could any one please shed some light as to how an jar whose copy has been deleted from the SQLLIB\FUNCTIONs\JAR\<schema> still be referred to from our projects? Even after installing a fresh...
12
by: martin1 | last post by:
All, is there window form refresh property? I try to set up window form refresh per minute. Thanks
6
by: Mikus Sleiners | last post by:
Is there any way to enable exception throws in VS 2005, that occur during binding operations? I am upset that i can't see exceptions that are thrown during binding operations. It's very hard to...
0
by: chetu | last post by:
I have two pivot tables, but when my macro refreshes the pivot tables it refreshes all, but I want it to pick say for example; Say range "B8" of pivot table 1 is 60, I want the range "x2" of pivot...
4
by: panks2007 | last post by:
Hi, When I close the File.exe the menubar remains on the desktop unless and untill i refresh the desktop in windows(XP,server2003). How should I refresh the windows desktop in VB6.0 using...
0
by: DKn | last post by:
Hello All, I am doing one .Net C#.Net 2.0 Windows appliaction. In that I am displaying the installed products information by using win32_Product class in a ListView Control. it is diplaying...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.