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
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
2 matches
Mail list logo