analyze error syntax error, unexpected T_STRING, wait ',' or ';'


This question already has an answer here:

  • PHP Parse/Syntax Errors; and How to solve them? 11 answers

I am getting the syntax error commented code. Can some have idea, why this error comes

Error: syntax error, unexpected T_STRING, expecting ',' or ';'

echo '<script>
    alert("Case successfully assigned!");
    window.location.href="casedetails.php?caseid=".$row['case_id']."&&msg=added ";

you need to use the single quotes and single & like :