Jump to content

syntax error?


techker

Recommended Posts

Hey guys i have this :

 

<?php if ( $this->objval($_obj,'group_label')  != "general") { ?>
					<div class="datainfo profile" id="profile_data_<?php echo isset($_obj['rowcnt']) ? $_obj['rowcnt'] : "&#123;rowcnt&#125;"; ?>_content" style="display: none">
						<dl class="datainfo">
							<?php if (!empty($_obj['profile_fields'])){ if (!is_array($_obj['profile_fields'])) $_obj['profile_fields']=array(array('profile_fields'=>$_obj['profile_fields'])); $_tmp_arr_keys=array_keys($_obj['profile_fields']); if ($_tmp_arr_keys[0]!='0') $_obj['profile_fields']=array(0=>$_obj['profile_fields']); $_stack[$_stack_cnt++]=$_obj; $_cnt['profile_fields']=count($_obj['profile_fields']); foreach ($_obj['profile_fields'] as $rowcnt=>$profile_fields) { $profile_fields['rowcnt']=$rowcnt; $profile_fields['rowpos']=$rowcnt+1; $profile_fields['rownum']=$rowcnt%2+1; $profile_fields['rowtotal']=$_cnt['profile_fields']; $profile_fields['rowfirst']=$rowcnt==0?1:0; $profile_fields['rowlast']=($rowcnt+1)==$_cnt['profile_fields']?1:0; $_obj=&$profile_fields; ?>
								<dt><?php echo isset($_obj['field_name']) ? $_obj['field_name'] : "&#123;field_name&#125;"; ?>:</dt>
								<dd>
									<?php if ( $this->objval($_obj,'field_value') ) { ?>
										<?php if ( $this->objval($_obj,'field_type')  == "checkbox") { ?>
											<?php echo vldext_break($_obj['field_value']); ?>
										<?php } else { ?>
											<?php echo isset($_obj['field_value']) ? $_obj['field_value'] : "&#123;field_value&#125;"; ?>
										<?php } ?>
									<?php } else { ?>
										{lang:"core","user_

 

Parse error: syntax error, unexpected $end in /home/open2sha/public_html/new/templates/sexypeople/tmp/account_home_tpl.php on line 167

 

is it because im missing  ;

Link to comment
https://forums.phpfreaks.com/topic/183513-syntax-error/
Share on other sites

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.