Hi,
I'm trying to put line breaks or have multi-lines in my alert box. When I put a \n between the lines I want to break it comes up with a javascript error "Unterminated strint constant". I know I must be missing some characters in the code. below is the example. The alert box works, but as soon as I put a \n in there, it comes up with that error.
<?php
if($count < 180)
{
echo "<script language= Javascript>
alert('test days $count');
</script>";
}
?>
Can someone tell me what I have written wrong?