<?php
<a onClick=\"return confirm('Are you sure you want to remove *$sname*? ');\" href='urltodeletionscript?id=".$row[shid]."'>
?>
Question #1: If $sname (shop name) contains a quotation mark or apostrope character... This warning box is bypassed and the listing is deleted without the option for the user - I don't really want to do a stripslashes for $sname and want the apostrophe' s to show...
How can I remedy this?
Question #2: With an onclick confirm such as this there seems to be a text limit ... the box will NOT wrap the text until it reaches about 600 pixels wide.. is there any way I can tell it to wrap text at say 200 pixels?