it will have two alert messages display one after one. should be like if the first str has been handle then only display the second alert. please help and many thanks
[CODE=php]
if(substr($sn,0 ,1) == "S" && substr($add,0,2 ) == "00")
{
else
{
$message="Must Be Start With S";
echo '<script>alert( "Must Be Start With S");</script>';
}
{
$message="Must Be Start With 00";
echo '<script>alert( "Must Be Start With 00");</script>';
}
}
[/CODE]
[CODE=php]
if(substr($sn,0 ,1) == "S" && substr($add,0,2 ) == "00")
{
else
{
$message="Must Be Start With S";
echo '<script>alert( "Must Be Start With S");</script>';
}
{
$message="Must Be Start With 00";
echo '<script>alert( "Must Be Start With 00");</script>';
}
}
[/CODE]
Comment