well, hi there
ok this is a reall ugly one so listen carefully : I have a page A which select information from a database and then allows the user to edit this information, all good so far? Then once the person has finished editing the information I send the information to page B calling a javascript function :
function function_name(var_1)
{
var newWin=open(var_1,"","width=600,height=600");
}
var_1 contains the page name of page B and the id of which record to perform the UPDATE query using the $_POST variables.
Ok well now here is my problem, i want all of this to happen in the background and for the page A to refresh itself and show the updated details. I know that i will have to use Jscript to control all the window attributes but i dont know which Jscript functions to use.
And after alot of thinking i came to the conclusion that if you could call a php function through Jscript or manipulate your software to do something like this it would make life a lot easier, is there anyway to do this?
well, i hope someone can help me