Javascript doesn't support multi-line strings, you'll need to either:
- make that tag one big line, or
- use a trailing backslash on each line to indicate "continuation", or
- use multiple strings joined together.
Mostly this error happen when you assign php variable to javascript variable.
So you need to use mydql_real_escape_string() for php variable befor assign to javascript variable.
Ex:
<script>
var name="<?php echo mysql_real_escape_string("GvSubhu <br />' "); ?>";
</script>