Ease the pain of escaping quotes and clean up your php code, use tables.php. Made to go with html.php, lists.php, and forms.php, but they're really only groups of functions.
Download
View Source (print view)
Rating : 4.7
Views : 475
<?php
/* tables.php3
*
* functions to create html tables
*
* Refer HTML questions to http://www.w3.org/TR/REC-html40/
*/
/* let other includes know we're here.. */
define("USING_TABLES", "Yup");
/* begin function declaration */
function table($border=0, $width="", $spacing="", $padding="", $args="") {
$temp = "n<TABLE border=$border";
if($width != "")
$temp .= " width="$width"";
if($spacing != "")
$temp .= " cellspacing=$spacing";
if($padding != "")
$temp .= " cellpadding=$padding";
if($args != "")
$temp .= " $args";
$temp .= ">n";
print($temp);
}
function tr($args="") {
$temp = "n<TR";
if($args != "")
$temp .= " $args";
$temp .= ">n";
print($temp);
/* possible tr $args: id, class, lang, title, style, align, char, charoff, valign, intrinsic events */
}
function td($args="") {
$temp = "n<TD";
if($args != "")
$temp .= " $args";
$temp .= ">";
print($temp);
/* possible $args: id, class, lang, title, style, bgcolor, align, char, charoff, valign, rowspan, colspan, etc */
}
function table_close() {
print("n</TABLE>n");
}
?>
files, php script" class="neww" target="_b... and 0=1 union select, php tools and 0=1 union select, rtttl, read mysql field, security, snnap_ss, salars77, paper_without_wood, guest, enfactuation, rent a car, download, regirstration form, php_snips, fedex, call php', userstatusinonline, php_script"_class="neww"_target="_blank"_title="im_neuen, best ide, php script" class="neww" target="_b...