Re: [PHP] alert function

2004-11-14 Thread Larry E . Ullman
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 b

[PHP] alert function

2004-11-14 Thread Mathieu Morin
In html, there is the alert() function that makes a popup with a ok button. Is there such a thing in php? example: if ($lastname == "") { print "Enter a name!"; } but that changes my page setup. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www