Page 1 of 1

Parse Error

Posted: Thu Jul 22, 2004 7:47 am
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";
	)

Posted: Thu Jul 22, 2004 7:53 am
by markl999
You have :
elseif
{
)

instead of:
elseif
{
}

Posted: Thu Jul 22, 2004 7:56 am
by matthiasone
DOH!!!! :oops: Thanks markl999