Prevention from Being cached | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Prevention from Being cached

Hello ! Can anyone help me with this - I have PHP code which echoes html with dynamic class , something like this - <span class=“ now we are <?php $open ;?>”> <?php $open; ?> </span> Now I want prevent this peace of code from being cached in browser.

10th Mar 2018, 2:32 PM
Emresta.com
Emresta.com - avatar
1 Answer
+ 5
This may be somewhat related: http://php.net/manual/en/function.header.php Hth, cmiiw
10th Mar 2018, 4:13 PM
Ipang