Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

.php page refersh

This is a discussion on .php page refersh within the PHP forums, part of the Web Development category; Hi, I am learning web design skil.Below is php code we have written.And How we can refresh this page in our browser. Is it possible to do that?? ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ <!DOCTYPE ...

Go Back   Geeks Talk > Web Development > PHP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

PHP PHP - The most popular scripting language. Discuss PHP related questions here. Sample Scripts, Popular downloads, tools and utilites and more...

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-30-2009
Junior Member
 
Join Date: Jul 2009
Location: india
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
dinesh.4126 is on a distinguished road
.php page refersh

Hi,
I am learning web design skil.Below is php code we have written.And How we can refresh this page in our browser.
Is it possible to do that??
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Remote Weather Monitoring</title>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAZp4rKdeeazZBQ3EH922UUBTIorwmHn2vzvETmozy_EzYqHAPGRRS5FVIpoR9KihjOtSDuHwlbGw8LA"
type="text/javascript"></script>

<?php
include_once("include_files_map.php");
include_once(PATH_TO_MAIN_PHYSICAL_LANGUAGE.$language.'/'.FILENAME_INDEX);
include_once(FILENAME_BODY);

//print_r($_POST);
if($_POST['language'])
{
switch($_POST['language'])
{
case 'oriya':
define('TEXT_LANGUAGE','or_');
break;
case 'hindi':
define('TEXT_LANGUAGE','hi_');
break;
case 'tamil':
define('TEXT_LANGUAGE','ta_');
break;
case 'telugu':
define('TEXT_LANGUAGE','te_');
break;
case 'bengali':
define('TEXT_LANGUAGE','be_');
break;
case 'kanada':
define('TEXT_LANGUAGE','ka_');
break;
default :
define('TEXT_LANGUAGE','');
break;
}
}


$search_location_name=$_POST['TR_name'];
$display_size=$_POST['size_of_display'];
$map_type=$_POST['type_of_map'];

//getting from data base
$data=getAnyTableWhereData(LOCATION_TABLE,"name='".$search_location_name."'","*");


$location_name=$data['name'];
$latitude=$data['lat'];
$langitude=$data['lng'];
$weather=$data['weather'];
$temp=$data['weatherinfo_temp'];
$humidity=$data['weatherinfo_humidity'];
$distance_from=$data['distance_from'];
$distance_to=$data['distance_to'];
$depth_from=$data['depth_from'];
$depth_to=$data['depth_to'];
-------------------------------------------------------------------------------------------------------------------------------------
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-05-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 991
Thanks: 155
Thanked 420 Times in 201 Posts
rijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nice
Re: .php page refersh

Hi Dinesh,

Why it's not possible to refrsh a page in php ????

U can use either header(location...) or header(refresh..)

Thanks,
Riju.
Reply With Quote
Reply

  Geeks Talk > Web Development > PHP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
What tags are used to embed one html page inside another html page (without using fr prasanna.pitlam HTML & CSS 1 09-07-2009 03:51 PM
What tags are used to embed one html page inside another html page (without using fr prasanna.pitlam Web Design 0 07-04-2009 04:08 AM
AJAX Made Easy - Page Refreshers for Consistent Page Updates Lokesh M AJAX & XML 0 12-19-2008 06:30 AM
How do you restrict page errors display in the JSP page. rjdeepu Java 1 06-26-2008 03:23 PM
Winrunner is taking the entire web page as a single page Sridevi.P WinRunner 0 06-05-2007 11:26 PM


All times are GMT -4. The time now is 06:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved