You are here: Re: How to make my PHP page up-to-date « All PHP « IT news, forums, messages
Re: How to make my PHP page up-to-date

Posted by M4trX on 12/07/05 09:22

"Stefan Mueller" <seekware-remove-@yahoo.com> wrote in message
news:dn52ih$eg4$1@news.imp.ch...
> I've written a small PHP script which reads all the entres of my MySQL
> database.
> If I use it the first time it works fine. However, if I use it a second
> time it still shows the same result it showed the first time. To get the
> current entries of my MySQL database I have to press Shift and click on
> reload.
>
> Is there a PHP command or even a HTML header statement which tells my
> browser always to execute the PHP script (perhaps even if I connect over a
> proxy)?
>
> Stefan
>
>

This is what you are looking for:

<meta http-equiv="pragma" content="no-cache">

Put it somewhere in the head tag:

<head>
<meta http-equiv="pragma" content="no-cache">
</head>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация