View Single Post
  #1 (permalink)  
Old 11-30-2007, 08:14 AM
cosmic cosmic is offline
Junior Member
 
Join Date: Nov 2007
Posts: 3
Default template keeps corrupting

Hi all

Earlier this week I bought the kit and think it's great! I'm having a problem though with the index.php corrupting after an hour of working on it. The error I'm getting is:
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in C:\wamp\www\access\templates\TT\index.php on line 39

line 39 reads:
<td width="117"><img src="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>"; ?>access_head_left.jpg" alt="1" width="117" height="99" /></td>

I've re-created the template 4 times and it's fine for about an hour or a dozen saves but then this happens every time! Can anyone tell me what I'm doing to cause this.

Thanks
Keith