Hi,
Is there any way to pop up a msgbox using php? I tried to echo javascript usign alert but it desn't work at all. Is there any other way? Thanks!
Once it outputs to the browser it's done.
Anyways, try again with Javascript. http://javascript.internet.com/messages/
Give this a shot.. function error_message($msg) { html_header(); echo "<script>alert(\"Error: $msg\");history.go(-1)</script>"; html_footer(); exit; }