In html, there is the alert() function that makes a popup with a ok button.
Is there such a thing in php?
Actually, that's a JavaScript function. You can't do the same thing in PHP although you can use PHP to create the JavaScript. Printing an error message, like you already had, is probably a better choice, though (IMHO).
Larry
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php