PHP Custom Function For HTML
From w3cyberlearnings
# | Function | Description |
---|---|---|
1 | select($array,$selected,$name,$return=0,$option=1) | Returns HTML select drop down list |
2 | myradio($array,$checked,$name) | Return HTML Radio button |
3 | mycheckbox($array,$checked,$name) | Return HTML Checkbox |
4 | mylist($array,$option=1,$return=0) | Return HTML UL OR OL LIST |
5 | pagination($total, $page, $perpage, $baseUrl, $pagevar='page', $nocurr=false, $return=false, $maxdisplay=18) | Generate pagination function |