echo '<a href="url_to_delete" onclick="return confirm('Are you sure want to delete') ;">Delete</a>';
i am having problem on the single quote. Parse error: syntax error, unexpected 'Are' (T_STRING), expecting ',' or ';' i tried change with
echo '<a href="url_to_delete" onclick="return confirm('.'Are you sure want to delete'.') ;">Delete</a>';
but the confimation pop out is not working. i need to use on single quote but not on double quote for php.