Categories > TinyButStrong general >

How to create HTML documents

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: zweb
Date: 2008-12-28
Time: 17:21

How to create HTML documents

My English not good
---------------------------
I use $TBS->Show();
is working, ULR:http://127.0.0.1/index.php.
but I want to create html files.
The use of the browser URL:http://127.0.0.1/index.html
I use
$a=$TBS->show();
$fp = @fopen("index.html","wb");
fputs($fp,$a);
but I found $a is int.

Thanks
By: TomH
Date: 2008-12-28
Time: 20:04

Re: How to create HTML documents

In the TBS Manual -- see the sections on TBS->Render and TBS->Source

http://www.tinybutstrong.com/manual.php#php_source

That should help you,
By: zweb
Date: 2008-12-29
Time: 01:39

Re: How to create HTML documents

thank you very much!