Right now in my snippet, I have it looking for stuff like &extra=`y`.
Is there a way to, instead of doing this, have it check if one out of a list of values exist, and use X code via a IF/ELSE statement. I don’t know much PHP, but this should give an idea...
if (isset($width, $colspan, $rowspan)) {
return ’<td class="’.$css.’" width="’.$width.’" colspan="’.$colspan.’" rowspan="’.$rowspan.’">’.$data.’</td>’;
} else {
return ’<td class="’.$css.’">’.$data.’</td>’;
}
(Looking at that, I’m guessing that works, then? Or does that mean it needs all three to work?)