Re: alert function

From: Date: Sun, 14 Nov 2004 18:39:22 +0000
Subject: Re: alert function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201991@lists.php.net to get a copy of this message
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

« previous php.general (#201991) next »