I have a php script. there is user and admin sections. The information is displayed in the user side (displaying adding new article) when added from admin side. But when I add a new article and refresh page. it does not come but after 2-3 refreshes It comes. same as the other pages I should refresh 2 times for articles to be displayed. What can cause this ???
While I am fetching data from database, I always open connection and close connection after fetching finishes and same as others. Can this be the reason of this ?