How do I create a table that will have the first value in bold and the other normal.
Example: Name: John =>> [b]Name:[/b] John
Source Code:
[code]
<?php
require_once '../../classes/CreateDocx.inc';
$docx = new CreateDocx();
$paramsTable = array(
'border' => 'none',
'border_spacing' => 5,
'size_col' => '3000',
'TBLWw' => '500',
'font' => Arial,
'border_sz' => 10
);
$tabulka1 = array(
array(
"Name:",
"John"
),
array(
"Name:",
"Kate"
),
);
$docx->addTable($tabulka1, $paramsTable);
$docx->createDocxAndDownload('example_table');
[/code]
Thank you for your answer