Hi, I have a page that contains multi If ElseIf statements. I want to redirect right after a user submits gets a message (echo "Entry Added to Database. \n"; ) would you like to add another. then prompts for an alert. Would you like another ??? and redirects to a page based on selection.
<SCRIPT language="JavaScript"> <!-- function go_there() { var where_to= confirm("Would you like to create another ??"); if (where_to== true) { window.location="body.htm"; } else { window.location="update.php"; } } //--> </SCRIPT> I have this jscript but not sure how to implement after the (echo entry added to database) line ? any suggestions. would be greately appreciated. Thank You <><><><><><><><><><><><><><><><> Daniel Negrón Lotus Notes Administrator / Developer KB Electronics, Inc. 954.346.4900x122 http://www.kbelectronics.com <><><><><><><><><><><><><><><><> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php