I'm using a tool tip jquery plugin and it requires single quotes in the link attributes like so:
<a href="#" class="tooltip" title="<img src='my-image.png' width='100' height='100' />
however i'm trying to save this inside a php variable like so:
$calendar.= '<div class="event-day tooltip"><a href="event.php?id='.$event['event_id'].'"title="<img src="my-image.jpg" width="500" height="400"/><span class="hb">'.$hour.'</span> '.$event['name'].'</a></div>';
as you can see in the title attribute it isnt going to work because of title="
\'see this.atag, and also having HTML inside an attribute is not a great idea.