[SOLVED] Parse Error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
matthiasone
Forum Contributor
Posts: 117
Joined: Mon Jul 22, 2002 12:14 pm
Location: Texas, USA
Contact:

Parse Error

Post by matthiasone »

Ok, I am getting a parse error point to the end brace of this elseif. if I remove this piece of code from the script the parse error goes away. I am not seeing the problem. PLEASE HELP!

Code: Select all

elseif($layflag == 1)
	{
	  $abbrev = explode(', ', $vlistї'abbrev']);
	  $sref = $abbrevї0].' '.$vlistї'chapter'].':'.$vlistї'verse'];
	  $list .= "<td valign='top'><font size='2' color='#000000'><b>".$sref.
	  		   "</b></td>\n<td width='5'>&nbsp;</td>\n<td colspan='2'>".
			   $vlist&#1111;'versetext']."</td>\n</tr>\n";
	)
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

You have :
elseif
{
)

instead of:
elseif
{
}
matthiasone
Forum Contributor
Posts: 117
Joined: Mon Jul 22, 2002 12:14 pm
Location: Texas, USA
Contact:

Post by matthiasone »

DOH!!!! :oops: Thanks markl999
Post Reply