HTML template

HTML template

Postby Silvio.Falconi » Mon Sep 24, 2018 8:22 am

It'is possible from a fwh prg open a Html ( template) and insert data from dbf ?
sample

<table width="100%" border="0" cellpadding="5" cellspacing="3">

<tr>
<th align="center"> <b>{!#1503!}</b></td>
</tr>

{INSERTTABLE}

</table>
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: HTML template

Postby dagiayunus » Mon Sep 24, 2018 11:04 am

Dear Silvio

I use like

nHandle2:=fcreate("C:\PROGRA~1\APACHE~1\Apache2\htdocs\report2.html",FC_NORMAL)
txt2:=strtran(txt2,"{{cPageTitle}}","Sale and Order Report Dt:"+dtoc(dDt))
txt2:=strtran(txt2,"{{SERVERSTATUS}}","Server Online Last update "+time())
fwrite(nHandle2,txt2)
fclose(nHandle2)

Regards
Yunus
Regards
Yunus

FWH 21.02
dagiayunus
 
Posts: 85
Joined: Wed Nov 19, 2014 1:04 pm

Re: HTML template

Postby Silvio.Falconi » Mon Sep 24, 2018 11:34 am

THANKS
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: HTML template

Postby Silvio.Falconi » Tue Sep 25, 2018 11:51 am

I NOT FOUND FCNORMAL value
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: HTML template

Postby Enrico Maria Giordano » Tue Sep 25, 2018 12:34 pm

Please include fileio.ch.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 35 guests