maria - 2016-10-26 16:34:05
Hi, guys. How can I change the style of the table? I'm getting some HTML code from my database but the table donīt apply any borders. I just want to get the borders, any idea?
Some code from my file:
$list=mysql_query("SELECT * FROM source WHERE id='29'");
$fil= mysql_fetch_assoc($list);
$table=$fil['content'];
require_once '../vsword/VsWord.php';
VsWord::autoLoad();
$doc = new VsWord();
$parser = new HtmlParser($doc);
$parser->parse( '<h2>This is the table</h2>' );
$parser->parse( $table );
$doc->saveAs('html.docx');