Skip to content

sent44/php_function

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

php_function

this file I just test for make php function that like php framework to build html graphic interface and I want to combined html and php into php code for make a new feeling of coding with my function thanks! I think a adventage of my function that it can make you more comfort if you use php in html I will show about new feeling of my function when you want to make some website with php

Old:

<html>
  <body class="body">
    1 2 3 4 5 6 7 8 9 10 11 12
  </body>
</html>

New:

<?php
  include_once("html_function.php");
  h_html();
    h_body('class="body"');
      for($i=1;$i<=12;$i++)
        h_print($i.' ');
    h_body_end();
  h_html_end();
?>

you can use function h_tag() for make html <tag> (tag is name of html tag) and use h_tag_end() for close tag ,it like </tag>

so name of tag that I have in my function is: Almost every tags but doctype (and not support in html5 ones)

About

test for make php function that like php framework to build html graphic interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%