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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux