[snip] By default dreamweaver outputs tags like this: <img src="foo.gif" class="blah"> [/snip] This is the proper format for an HTML tag, all attributes should be double quoted. [snip] Or if I am barking up the wrong tree and this is not possible (changing DWs default behavior, just tell me and will stop searching. [/snip] I think that you are barking up the wrong tree and what you need to do is learn how to escape quotes going into the database properly. Usually it is single quotes that provide the most headaches as values being inserted into columns are typically single quoted, so your change ends up only inserting '<img src=' Into the database. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php