RE: [PHP] Re: MessageBox in PHP?
| From: | Fatih Ustundag | Date: | Mon, 22 Oct 2001 11:26:39 +0000 |
| Subject: | RE: [PHP] Re: MessageBox in PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71810@lists.php.net to get a copy of this message | ||
But you can write javascript code with php
like this:
if ($err)
{
echo "<html><body>"
echo "<script>\n";
echo "alert('ERRORR');\n";
echo "</script>\n";
echo "</body></html>\n";
exit();
}
-----Original Message-----
From: _lallous [mailto:elias_bachaalany@yahoo.com]
Sent: Monday, October 22, 2001 3:20 PM
To: php-general@lists.php.net
Subject: [PHP] Re: MessageBox in PHP?
you can use JavaScript to do that...
<script>
alert('your message goes here');
</script>
embed this in your HTML source code.
it is not possible to do so in PHP since it is server side.
"Silvia Mahiques" <mahiques@posta.unizar.es> wrote in message
news:005101c15aec$9ccac280$1a9cd29b@tscpc6...
Hi!,
How can I make a messagebox in PHP to print errors or warning (such as in VB
or VC++)?. Is it possible?
Silvia Mahiques
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net