Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7999055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:23:25+00:00 2026-06-04T15:23:25+00:00

When I access a page for example viewing a user information. Here’s the scenario.

  • 0

When I access a page for example viewing a user information. Here’s the scenario. The user views the information for person A, and then views the information for person B but what is displayed on the browser is the information for person A and it will only go away once you refresh the browser. What do you think is the problem here?

Here’s a sample code:

<?php foreach($select as $row){ ?>
            <tr>
                <input type="hidden" name="schedule_id[]" value="<?php echo $row->schedule_id; ?>"/>
                <td><input type="text" id="description_<?php echo $row->schedule_id; ?>" name="description[]" value="<?php echo $row->quarter; ?>"/></td>
                <td><input type="text" id="range_from_<?php echo $row->schedule_id; ?>" name="range_from[]" value="<?php echo $row->new_range_from; ?>"/></td>
                <td><input type="text" id="range_to_<?php echo $row->schedule_id; ?>" name="range_to[]" value="<?php echo $row->new_range_to; ?>"/></td>
                <td><input type="text" id="sched_from_<?php echo $row->schedule_id; ?>" name="sched_from[]" value="<?php echo $row->sched_from; ?>"/></td>
                <td><input type="text" id="sched_to_<?php echo $row->schedule_id; ?>" name="sched_to[]" value="<?php echo $row->sched_to; ?>"/></td>
            </tr>
            <?php } ?>

It’s just a usual code I didn’t really do anything. But I’m suspecting that the configuration is the problem so if you would be so kind to look at my php.ini file:
http://dl.dropbox.com/u/27328449/php.ini

I was using Wampserver during the development but on production I installed php, apache and mysql separately. So I think this has something to do with the configuration.

Thank you for all the comments.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T15:23:27+00:00Added an answer on June 4, 2026 at 3:23 pm

    Your browser is probably caching the html of your page. Fix:

    Add these two lines at the top of your page in php:

    header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
    header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
    

    via http://php.net/manual/en/function.header.php

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Javascript I can access the page's stylesheet information with the following command Example:
When I access a page using a web browser, I can see more information
For example, to access a page in my search folder, I have to write:
Is there a way to access page controls from user control . I have
How can I change the Access Denied page/copy that is displayed in the magento
Not sure if the derived page is actually relevant to the problem here, but
How do I access a page class from another class. For example I have:
I was trying to access a page using curl. I could access it perfectly
I am trying to access a page method from centralized module. I tried putting
Is there a way to access the page HTML source code using javascript? I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.