[TxMt] PHP echo wrap

luismcdougall lmcdougall at yahoo.com
Sun Jun 3 00:45:30 UTC 2007


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 at 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.




More information about the textmate mailing list