how to display a message box in php (newbie)?
Posted: Mon Jul 25, 2005 4:30 am
hi all,
could you show me php code to display a message box (similar to alert("..") function in html)?
E.g.
<?php
if(isset($_POST['form_Submit']))
{
alert('Is sent by submit button');//message box
}
?>
acturally, my purpose is for contacting to mysql, if the user doesn't exist, php will show a message box - anyway, code above is simple.
thanks
could you show me php code to display a message box (similar to alert("..") function in html)?
E.g.
<?php
if(isset($_POST['form_Submit']))
{
alert('Is sent by submit button');//message box
}
?>
acturally, my purpose is for contacting to mysql, if the user doesn't exist, php will show a message box - anyway, code above is simple.
thanks