Displaying the last viewed data
<p>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?</p>

<p>Here's a sample code:</p>

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

<p>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:
<a href="http://dl.dropbox.com/u/27328449/php.ini" rel="nofollow">http://dl.dropbox.com/u/27328449/php.ini</a></p>

<p>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.</p>

<p>Thank you for all the comments.</p>
