Clever html engine
PHP2HTML


Test site and documentation for Clever html engine • Errors may occur and future news may be shown • ver.1.4.1: 60+ core functions.

Overview over the system functions: TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards;" EXPAND: Click to open all cards;"
FUNCTIONS - vers. 1.4.1 - 2026-08-02:
Sorted by name:
  php2html.lib.php  2327: htm_AcceptButt(labl:'', icon:'', hint:'', form:'', wdth:'', attr:'', akey:'', kind:'home', rtrn:false, tplc:'LblTip_text', tsty:'', acti:'', idix:'');
  php2html.lib.php  2410: htm_ActionButt(labl:'', icon:'', hint:'', type:'button', name:'', form:'', acti:'', attr:'', rtrn:true);
  php2html.lib.php  5676: htm_br(rept:1);   
  php2html.lib.php   629: htm_Caption(labl:'',icon:'',hint:'',algn:'',styl:'color:#550000; font-weight:600; font-size: 13px;',rtrn:false);
  php2html.lib.php  1951: htm_Card_end(labl:'', icon:'', hint:'', name:'', form:'',subm:false, attr:'', akey:'', kind:'save', simu:false);
  php2html.lib.php  1751: htm_Card_(capt:'', icon:'', hint:'', form:'', acti:'', clas:'cardWmax', wdth:'', styl:'background-color: white;', attr:'margin-bottom: 8px;', show:true, mode:'2', poup:true, head:'background-color: white;', vhgh:'600px', help:'', fclr:'', frst:'', last:'',simp:false);;
  php2html.lib.php   764: htm_CodeBox(code:'', synt:true, repl:false, fmat:'',  vlue:'', rtrn:false);
  php2html.lib.php  2042: htm_DataGroup(capt:'', $icon='', $hint='', head:'', data:[['Label0','Data0']], foot:'', wdth:'', vhgh:'', fclr:'', attr:'', styl:'', bord:'3px solid green;');
  php2html.lib.php  2087: htm_DataList(capt: '@Choose here from the list:', icon: 'fas fa-database', hint: '@Use datalist to pick a value from list', plho: '?',name: '', form: '', acti: '', data: ['Itm1','Itm2','Itm3','Itm4'], wdth: '220px', fclr: 'color: green;', attr: '', bord: '1px solid black; border-radius: 5px;', rtrn: false );
  php2html.lib.php   869: htm_Details(capt:'',type:'',body:'',styl:'',labl:'',hint:'',mode:'',rtrn:false); 
  php2html.lib.php  3112: htm_Dialog(capt:'CAPTION', body:'', bclr:'lightyellow', butt: // []); Modal dialog:
  php2html.lib.php  1650: htm_Embed(name:'', type:'application/pdf', wdth:'800px', heig:'2100px', bord:'0', rtrn:false); 
  php2html.lib.php  1608: htm_Fieldset(capt:'',icon:'',hint:'',wdth:'',marg:'',styl:'',attr:'',rtrn:false);
  php2html.lib.php  1630: htm_Fieldset_end(rtrn:false); 
  php2html.lib.php   845: htm_Figure(capt:'',type:'',imag:'',styl:'',labl:'',hint:'',rtrn:false); 
  php2html.lib.php  2208: htm_Form_(name:'', acti:'', mode:'POST', type:'multipart/form-data', attr:'');
  php2html.lib.php  2232: htm_Form_end(); 
  php2html.lib.php  2510: htm_GoTopButt(labl:'@Top', icon:'fa-solid fa-arrow-up', hint:'@Go to page top', styl:''); 
  php2html.lib.php  5673: htm_hr(colr:'#0',attr:'');   
  php2html.lib.php  2775: htm_Humantest(capt:'@Are you human? ', icon:'fa-solid fa-arrow-right-to-bracket', hint:'@Grab and slide to right to change state', 
  php2html.lib.php  2445: htm_IconButt(labl:'', icon:'', hint:'', type:'submit', name:'', link:'', evnt:'', wdth:'', font:'32px', fclr:'gray', bclr:'white', akey:'', rtrn:false);
  php2html.lib.php  1637: htm_iFrame(srce:'', wdth:'300px', heig:'200px', titl:'', styl:'', rtrn:false);
  php2html.lib.php  5670: htm_Ihead(html); );:
  php2html.lib.php   476: htm_Inbox(labl:'', plho:'@Enter...', icon:'', hint:'', vrnt: 'noUse', name:'noUse', valu:'', form:'noUse', wdth:'200px;', algn:'left',attr:'', rtrn:false, unit:'noUse', disa:false, rows:'noUse', step:'noUse', list:['noUse'], llgn:'R', bord:'1px solid var(--grayColor);;', ftop:'');
  php2html.lib.php  1666: htm_Field(labl:'',body:'',icon:'',hint:'',name:'fld',wdth:'',styl:'',attr:'',llgn:'C',rtrn:false,ftop:''); #FIELD:
  php2html.lib.php   228: htm_Input(labl:'', plho:'@Enter...', icon:'', hint:'', vrnt: 'text', name:'', valu:'', form:'', wdth:'100%', algn:'left', attr:'', rtrn:false, unit:'', disa:false, rows:'2', step:'', list:[], llgn:'R',bord:'', ftop:'');
  php2html.lib.php  5682: htm_lf(rept:1);  
  php2html.lib.php  2979: htm_LinkButt(labl:'', hint:'', attr:'', link:'', targ:'_blank', rtrn:false);
  php2html.lib.php   694: htm_List_(capt:'', vrnt:'ul', type:'circle', $strt:'0', styl:'text-align:left;', rtrn:false);
  php2html.lib.php   732: htm_List_end(rtrn:false);
  php2html.lib.php   717: htm_List_item(labl:'', body:'', rtrn:false);
  php2html.lib.php  3555: htm_Menu_Leftout(capt:'Clever html engine', data:[], foot:'', styl:'',wdth:'180px');
  php2html.lib.php  3456: htm_Menu_TopDown(capt:'Clever html engine', data:[], foot:'PHP2HTML', styl:'', wdth;'150px', note;'');
  php2html.lib.php   798: htm_MiniNote(note:''); Very small text-line
  php2html.lib.php  3030: htm_ModalDialog(type:'none', capt:'@Voilà!', mess:'', butt:['type:','icon:','labl:','hint:','link:'], html:'CSS-based Modal Dialog', rtrn:true); 
  php2html.lib.php  2738: htm_MultistateButt(name:'ROWyCOLx', valu:'', acti:true, styl:'padding:1px;'); 
  php2html.lib.php  5679: htm_nl(rept:1);
  php2html.lib.php   561: htm_Output(labl:'', icon:'', hint:'', vrnt:'pgrs', name:'', form:'', valu:'', vmax:'',attr:'',bclr:'white',rtrn:false);
  php2html.lib.php  5560: htm_Page_end();
  php2html.lib.php  3899: htm_Page_(titl:'', hint:'', info:'', inis:'', algn:'center', imag:'', attr:'', pbrd:true); 
  php2html.lib.php  5552: htm_Page_Sect(body,styl:'border: 1px solid #888; border-radius: 8px; overflow: hidden; margin: auto; background-color:white;');
  php2html.lib.php  3417: htm_Pmnu_($elem='id',$capt='', $wdth='210px', $icon='', $stck='false', $attr='background-color:lightcyan; height: 26px; border: 2px solid lightgray; border-radius: 4px; margin-left: 1px;', $cntx=true, $rtrn=false); 
  php2html.lib.php  3427: htm_Pmnu_end($labl='', $hint='', $attr='', $rtrn=false); 
  php2html.lib.php  3422: htm_Pmnu_Item($labl='', $icon='', $hint='', $vrnt='plain', $name='', $clck='', $attr='', $shrt='', $enbl='true', $rtrn=false); 
  php2html.lib.php  2305: htm_RowCol_(wdth:240);        ColumnTop // Must be followed/ended of htm_RowCol_end();
  php2html.lib.php  2320: htm_RowCol_end();             ColumnBottom
  php2html.lib.php  2314: htm_RowCol_next(wdth:320);    NextColumn
  php2html.lib.php  1703: htm_Row_();
  php2html.lib.php  1708: htm_Row_end();
  php2html.lib.php  5685: htm_sp(rept:1); 
  php2html.lib.php  5688: htm_space(wdth);  
  php2html.lib.php  2485: htm_SubmitButt(labl:'',  hint:'', type:'submit', wdth:'', font:'32px', fclr:'gray', bclr:'white', rtrn:false);
  php2html.lib.php  2579: htm_SwitchButt(labl:'', hint:'', name:'switchbox_id', valu:'', list:[], wdth:'', bclr:'', rtrn:false); 
  php2html.lib.php  2615: htm_SwitchButton(labl, name:'switchbox_id', valu:'', wdth:'', bclr:'', styl:'', hint:'', list:[], rtrn:false); 
  php2html.lib.php   988: htm_Table(capt:[], pref:[], body:[],suff:[], note:'', data:[], filt:true, sort:true, crea:true, modi:true, vhgh:'400px',  styl:'',  from:__FILE__,list:[],expo:'',rtrn:false);
  php2html.lib.php  2964: htm_Tabs_end(foot:'', styl:'', rtrn:false);
  php2html.lib.php  2940: htm_Tab(labl:'', body:'', name:'', styl:'text-align: left; box-shadow: 3px 3px 6px 0px #ccc; padding: 5px; background-color: white;', bclr:'white');
  php2html.lib.php  2925: htm_Tabs_(head:'', styl:'', rtrn:false);
  php2html.lib.php  2992: htm_TextArea(labl:'', hint:'', name:'area', form:'', valu:'', rows:'1', widt:'', plho:'?', attr:'', rtrn:true); 
  php2html.lib.php   648: htm_TextDiv(body:'', algn:'left', marg:'8px', styl:'box-shadow: 3px 3px 6px 0px #ccc; padding: 5px; border: solid 1px lightgray; ',attr:'background-color: white;', rtrn:false );
  php2html.lib.php   822: htm_TextHint(text:'', hint:'', styl:'', attr:'', rtrn:false); 
  php2html.lib.php   663: htm_TextPre(body, algn:'left', marg:'8px', attr:'', font:'', code:false, rtrn:false);  #Preformatted HTML text
  php2html.lib.php   805: htm_TextTip(capt:'TIP', body:'', wdth:'', algn:'center', colr:'');
  php2html.lib.php   781: htm_TextVer(body, algn:'left', marg:'8px', attr:'', font:'', code:false); #Vertical text
  php2html.lib.php  5332: htm_Toast(text, bclr:'#333', fclr:'#fff', tout:5000);
  php2html.lib.php  2198: htm_Wrapp_(vhgh:'400px'); WrapperCard - open
  php2html.lib.php  2203: htm_Wrapp_end();         WrapperCard - close
Total: 64 htm_Functions
Tip: Hovering the mouse over function names displays a short description.

Notes about function parameters - Keywords table(); TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards;" EXPAND: Click to open all cards;"

Function parameter names, are shortened to 4 characters.
This gives a pretty lookout of the code,
and the possibility for syntax coloring of words.
Here is en explanation of all shortened names:
Key. .No.
{Editable}
Meening/Description Enter text...
{Editable}
Note Enter text...
{Editable}

Here are the list of keys, which you can copy/paste to your editors list for syntaks words:
labl capt body foot plho icon hint desc type name valu vmax vmin form subm acti clas wdth heig algn marg styl attr mode font colr fclr bclr llgn link targ akey kind echo unit disa rows step bord plac rept rtrn titl info inis imag pbrd simu clck stck cntx text html srce butt mess tplc tsty head evnt note rept shrt frst last from to__ elem pref suff filt data crea modi expo just sort filt vrnt capt pref body suff idix note data filt sort crea modi vhgh styl from list enbl dflt strt expo show poup help ftop code synt repl fmat vlue niv0 niv1 niv2 niv3 niv4 niv5 niv6 niv7 tout opti extr
Built-in Translate - meens the htm_lang() function, mostly is called inside the function, so there are no need to convert the text before the function call. Just use the @-prefix
PHP parameters variants: TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards;" EXPAND: Click to open all cards;"
Important about function parameters:
From PHP 8.0 you can give parameters to functions as:
Named arguments
--> Specify only required parameters, skipping optional ones. (free order!)
--> Arguments are order-independent and self-documented.

On PHP 7+ the order of parameters was fixed, and could not be omitted.

Be aware of PHP 7.4 is a supported version until 2023/24 !

Advanced functions catalog: TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards;" EXPAND: Click to open all cards;"
Details about the most used and complex system functions.
htm_Card()
 

htm_Inbox()
 

htm_Input()
 

htm_Page()
 

htm_Table()
 

htm_Tabs()
 


Other functions: TOGGLE-height: Click icon to toggle viewHeight for this card WIDE: Click to maximize/normalize this card width COLLAPSE: Click to close all cards;" EXPAND: Click to open all cards;"
In addition to system functions, php2html.php contains declarations for
other functions without prefix: htm_
They are usable in your project, but are only documented in php2html.php

Open source - 𝘓𝘐𝘊𝘌𝘕𝘚𝘌 & 𝘊𝘰𝘱𝘺𝘳𝘪𝘨𝘩𝘵 © 2019-2026 EV-soft *** See the file: LICENSE