i have a page where i upload an image that displays on the page using the $_FILE php commands through a form with enctype="multipart/form-data".
when i refresh the page the image stays there no worries as expected when pressing the refresh button in the browser or click on a javascript link that reloads the page.
but i want to send a new variable to the same page when i refresh the page by a javascript link but cant work out how to do this. anyone help me out here? what i need to do is resend the $_FILE data but it wont work and i cant work out how.
i use <a href="window.location.reload()">refresh</a> to reload but want to send a new variable, how to??