/functions/html.php

Description

html.php

The idea is to inlcude here some functions to make easier the right to left implementation by "functionize" some html outputs.

Functions
html_tag (line 28)

Generates html tags

  • return: HTML ready for output
  • since: 1.3.0
string html_tag (string $tag, [string $val = ''], [string $align = ''], [string $bgcolor = ''], [string $xtra = ''])
  • string $tag: Tag to output
  • string $val: Value between tags
  • string $align: Alignment (left, center, etc)
  • string $bgcolor: Back color in hexadecimal
  • string $xtra: Extra options
set_url_var (line 104)

handy function to set url vars

especially useful when $url = $PHP_SELF

  • return: modified url
  • since: 1.3.0
string set_url_var (string $url, string $var, [string $val = 0], [boolean $link = true])
  • string $url: url that must be modified
  • string $var: variable name
  • string $val: variable value
  • boolean $link: controls sanitizing of ampersand in urls (since 1.3.2)

Documentation generated on Sat, 07 Oct 2006 16:11:31 +0300 by phpDocumentor 1.3.0RC6