Spreadsheet Header

[insert_php]
session_start();

$headerRow = $_SESSION[‘file’][$_REQUEST[‘customInput’]-1];
$_SESSION[‘customInput’] = $_REQUEST[‘customInput’];
$rowCols = [];

$rowCols = split(“\t”, $headerRow);

[/insert_php]
TBX Convert | Spreadsheet

TBX Convert: TBX-Min

Please asign each header to a corresponding TBX-Min element (leave blank if none fit):

*Please note that Source Language and Target Language are required.

[insert_php]
$numCols = 0;
foreach($rowCols as $col)
{
$col = preg_replace(‘/^\s+/’, ”, $col);
$col = preg_replace(‘/\s+$/’, ”, $col);
$col = preg_replace(‘/:/’, ‘_,_’, $col);
$col = preg_replace(‘/\s+/’, ‘___’, $col);

if($col == ”)
{
continue;
}
else
{
$elementSelection =


“;

$col = preg_replace(‘/_,_/’, ‘:’, $col);
$col = preg_replace(‘/___/’, ‘ ‘, $col);
echo ”

$col$elementSelection

“;
}
$numCols++;
//$col = “*BLANK CELL*”;
}
[/insert_php]