making sure data inserted before closing
Posted: Fri Oct 24, 2003 4:30 pm
hey i'm very new to php, and i'm trying to make a guestbook for my webpage. in the guest book i have an image that you click to open up a popup called gstbkinsert.php3 that has a field to insert your username and then a field underneath it to insert your comment. the problem is that i would like the pop up to close after its submitted, but only after its confirmed that the database recieved the data. it seems to only work most of the time if i have the window close onSubmit. how would i go about doing this? i've tried looking on google and stuff but i didn't really know how to word what i was looking for. anways, any help would be really appreciated.