I have a php page with a form(grid) which is submitting values to the database.

<form action="<?php echo $_SERVER['PHP_SELF']?>" method="POST">

As soon as i press submit, data is updated in the database but I still see previous values in the form(grid), and manually need to refresh it for updated values.
Is there any way by which this refresh happens as soon as the database is updated. i.e on submit it should also do the refresh operation with database updations.

Many thanks in advance.

8 Years
Discussion Span
Last Post by tarunkhatri

Could you please post the full form? So we can adjust things so that it gets refreshed.



Posting complete form is nt possible as its very very big. Actually I have created something like excel grid wher in you can input data and submit back to the database. But when the grid data is posted its not refreshed I need to manually do that. Is there any solution to do that.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.