agranik,
I understand what you are trying to do, and I have looked around for a way to make the tab length longer. I don't think there is a way to do it.
Here's how I would do it:
while ($col1val, $col2val) {
$col1length = strlen($col1val);
if ($col1length > 7) {
echo "$col1val\t$col2val";
} else {
echo "$col1val\t\t$col2val";
}
}
So if the word in col1 is less than 8 chars, it'll use two tabs, 8 or more chars, it'll use one tab.
Hope this helps,
Tom 🙂