i try to pass php value which is $row['desc'], to javascript. and this error appear, 'unterminated string constant', if the data dont have space like 'test', then no error appear, if the data like 'test test', then the error will appear. any solution for this, the code is like this
onclick=check($row['desc']);
what are the different between <?php ?> and <? ?> ?

