0
Hello, I installed WAMP from Bitnami and am using php 7.1.7 and when I edit the value of a variable, and give F5 in the browser, the value of the variable does not change on the web page.
I tested on 3 browsers, Firefox (what I use), Chrome and Edge. I’m using echo to show the value of the variable, and the value doesn’t change at the same time I update the browser, I have to wait 2 to 3 minutes and then update the browser again and then update. This procedure is every time I change my script, I’m only using 2 lines, one for variable and one for echo and nothing else.
Does anyone know how to fix this? I’ve used . htaccess and apache conf changes and haven’t solved it.
Put here the code you’re having problems.
– Leandro Lima
<?php $name = "Bruno"; echo $name; ? > Only this, anything that changes no longer updates on time, only after a few minutes in the browser.
– Bruno
An obvious question (rs), before you press F5 to see the new value of your variable, you change the value of the variable
$nome
, right ?– Leandro Lima
HAHAHA that was good, but I change the value yes, even when it goes wrong I change the value to see if it changes, and nothing.
– Bruno
yes, but already solved, take a look at the answer below.
– Bruno