こう?

$sql = "<a href='http://'>;こんばんは</a>";
mysql_escape_string($sql);
mysql_query($sql);