[TxMt] How to fix code colours and code checking for php?

Fabio fauzzo at email.it
Sun Aug 9 19:56:25 UTC 2009


Hallo Guys,

I am making experience with TextMate, I like it very much, but I have  
found a couple of problems with code validation and php colors. I'll  
try to explain:

If I am coding a php page and I add an instruction like:

$result = mysqli_query($db, "SELECT LOWER(REPLACE(REPLACE(field_name,'  
','-'),'\'','-')) AS test FROM test_tb");

the code above this line will be marked all of the same color and  
errors are showed by TextMate... but there are not errors, the problem  
here seems to be with the filter '\'' that TextMate detects like a  
missing ' char.

Anybody knows how to fix such situation?


Further more I often use php HERE DOCUMENT feature so if I type  
something like:

$test = <<<TEST
	this should be normal html code and I would like to have it coloured  
like html text and tags.
	But this not happens in textmate.
TEST;


Is there any way to have it coloured like html code while inside there?

thanks!

--
yours

Fabio



 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Last Minute a Riccione. Scopri le offerte su vacanzedivertenti.it  
* Buona Vacanza!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9391&d=9-8



More information about the textmate mailing list