I'm still not quite certain what you're doing, but you might find it useful to know that you can insert an escaped pair of quotes by typing ⌘" (that's shift-command-' on my keyboard).
If you already have HTML code in a PHP scope, then surely it's already wrapped in quotes?
On 3 Jun 2007, at 01:45, luismcdougall wrote:
Tobias, I do agree with you. It is what I am doing. I do not know why I did write my message explaining it in that fashion.
Tobias Jung-2 wrote:
At 8:45 Uhr -0700 31.05.2007, luismcdougall wrote:
I find my self wrapping html code very frequently. It is a pain but I do not know how to work with regex,
Basically I need to use echo "" to wrap the html code and escape all of the other " in it.
can someone help me?
Sorry I can't help you, but wouldn't it be better to use echo '' (single quotation marks) and leave the HTML " (double quatation marks) untouched?
Example: Before: some_file.php click here After: echo ' some_file.php click here ';
Kind regards, Tobias Jung
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- View this message in context: http://www.nabble.com/PHP-echo-wrap- tf3847294.html#a10932640 Sent from the textmate users mailing list archive at Nabble.com.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate