This code:
if (count($cells[$j]>$num_cols)) {
$num_cols=count($cells[$j]);
}
should be:
if (count($cells[$j])>$num_cols) {
$num_cols=count($cells[$j]);
}
(i.e. position of close-bracket in the condition)
This code:
if (count($cells[$j]>$num_cols)) {
$num_cols=count($cells[$j]);
}
should be:
if (count($cells[$j])>$num_cols) {
$num_cols=count($cells[$j]);
}
(i.e. position of close-bracket in the condition)
Comments
Comment #1
webgeer commentedThank you very much.
That should be fixed now.