S
Sam
I am constructing a company intranet.
On the intranet I made an overview-page which displays the availability of
equipment.
The information comes out of a database, and is retrieved by php-script.
The users of the database should be able to change the status of the
equipment.
On the overview-page, I placed a button next to each piece of equipment.
On pressing the button, a new window is opened, in which the user can input
the changes.
On this new window, a "submit"-button and a "cancel"-button can be pressed.
On pressing the submit-button, a php-script is called to make the changes in
the database, on "cancel", the new window is closed.
After pressing the submit-button, I want the initial overview-page to be
reloaded (refreshed) with the new information.
Can anyone help me?
I already tried this, but nothing happens:
The overview-page contains the following script:
<script language="JavaScript" type="text/JavaScript">
window.name = "materieeloverzicht"
</script>
The php page contains the following script:
<script language="JavaScript" type="text/JavaScript">
materieeloverzicht.location.reload()
</script>
On the intranet I made an overview-page which displays the availability of
equipment.
The information comes out of a database, and is retrieved by php-script.
The users of the database should be able to change the status of the
equipment.
On the overview-page, I placed a button next to each piece of equipment.
On pressing the button, a new window is opened, in which the user can input
the changes.
On this new window, a "submit"-button and a "cancel"-button can be pressed.
On pressing the submit-button, a php-script is called to make the changes in
the database, on "cancel", the new window is closed.
After pressing the submit-button, I want the initial overview-page to be
reloaded (refreshed) with the new information.
Can anyone help me?
I already tried this, but nothing happens:
The overview-page contains the following script:
<script language="JavaScript" type="text/JavaScript">
window.name = "materieeloverzicht"
</script>
The php page contains the following script:
<script language="JavaScript" type="text/JavaScript">
materieeloverzicht.location.reload()
</script>