You can use a table of your database as a source for your markers. You have to write a php function that generates a kml file. See:

Then you can add the plugin in an article: {mosmap kml='phpsql_genkml3.php'}.

The plugin will call the PHP file from the client. The kml is made instantly by the php file and send back the client or google and then rendered to show on the screen.

For the description you best can use the following code if you use html in the description:

$descText = $row['address'];
$descNode = $dom->createElement('description', '');
$cdataNode = $dom->createCDATASection($descText);