im a little stuck. im trying to call a javascript alert when clicking on a link like so
<a onclick="return confirm('Are you sure?')" href="blog-delete.php?blogid=1">Delete</a>
which works fine, But im trying to call it inside a php var lik so
$blogtitle . '<p align="right" style="font-size:10px;" ><a onclick="return confirm("Are you sure?")" href="blog-delete.php?blogid=' . $blogid . '">Delete</a> | '. $blogdate . '</p></div> <br /> ';
but the double qoute dont allow for the function to work
anyhelp would be great
Many thanks