RE: [PHP] Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T )

From: Date: Wed, 28 Jun 2006 12:11:24 +0000
Subject: RE: [PHP] Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T )
Groups: php.general 
Request: Send a blank email to php-general+get-238787@lists.php.net to get a copy of this message
[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.

« previous php.general (#238787) next »