Jump to content

Line of code breaks Dreamweaver colour coding


Recommended Posts

Newbie at this. In Dreamweaver I've got a bit of code (below) and under it the colour coding stops working, I know it's to do with the line:  $rug_obj->applyPromotion(); but I don't know if there's a way to fix this - the line of code is vital to the page so I can't just remove it.

 

<?php 
// check for promos    
$rug_obj = new Rug($rug['id']);
$rug_obj->applyPromotion();

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.