Submitted by tigron on Mon, 10/03/2011 - 1:17pm

I was looking to test this out on a site I'm working on and I've got an error in the code:
if ($count > 0) {
$column = '1';
if (($count > $desired_rows ) && ($count <= ($desired_rows*2) ) {
$column = '2';
}
elseif ($count > ($desired_rows*2 ) {
$column = '3';
}
I'm getting a sysntax error unless I add { after $column = '1';. Once I do that then I get an error on the last line :return '

  • '. $link . $menu ."
  • \n";
    }.

    Any suggestions ?

    The content of this field is kept private and will not be shown publicly.

    Plain text

    • Lines and paragraphs break automatically.
    • Web page addresses and email addresses turn into links automatically.