Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4612438
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:24:10+00:00 2026-05-22T01:24:10+00:00

I have a php file that almost work properly. But then it wouldn’t refresh

  • 0

I have a php file that almost work properly. But then it wouldn’t refresh the page everytime the admin clicks the approve/notapprove link. so here’s the thing:

when an IT upload a file to the page, the file could be seen by the admin(who checks the uploaded file and decides whether the uploaded file is accepted or not). here’s the thing, the admin is given a new table column for the approve and not approve, when the admin clicks on the approve link, the database is updated and same goes with the NotApprove link. the only difference between the two is the content (Approve, the other NotApprove). all codes works properly except for one thing,when you click on the link once, it wont reload,although it is updated on the first click.

is there a way to fix these? or is there anyway to refresh the page without causing problem to the update/delete links? i have tried the onclick = “opener.location.reload()” locaed inside my links. the page reloads when you click on the link but the data does not update.

thank you for those who help 🙂

NOTE** case solved but thanks for the help 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:24:10+00:00Added an answer on May 22, 2026 at 1:24 am

    Your problem might have something to do with the page not being refreshed and the browser showing a cached version. Try adding some headers:

    <meta name="pragma" content="no-cache" />
    

    or add an expire date in the past:

    <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Alright, currently I have my SWF hitting a php file that will go and
I have a PHP script that processes file uploads. The script tries to organise
I have an htaccess file that uses mod_rewrite to redirect /controller to /index.php?controller=%controller% Like
I have a PHP client that requests an XML file over HTTP (i.e. loads
I have a PHP script that pushes the headers to allow a file to
I have some jQuery code. I have called an Ajax function file, file.php, that
Hey everyone... I'm not too familiar with PHP... but I have PHP code that
I have a PHP file that contains a button. When the button is clicked
I have a php application that has about 50-55 code files. The file that
I have a global.php file that I call from the top of every script.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.