Algorithms Arrays Passwords Uncategorized
Commerce Uncategorized
Databases Abstraction Layers Informix LDAP MS SQL MySQL ODBC PostgreSQL Uncategorized
Date & Time Calculators Conversion Translation Uncategorized
Discussion Chat Forums Guestbooks Polls Uncategorized
Email Validation Uncategorized
External Uncategorized
Files and Directories Uncategorized
Games Uncategorized
Graphics 3-D Graphs Resizing Thumbnails Uncategorized
HTML Forms Menus & Navigation Source Viewers Tables Templates Uncategorized
HTTP Authentication Cookies File Uploading Uncategorized
I18N Uncategorized
Math Uncategorized
Miscellaneous Uncategorized
Searching and Trees Uncategorized
Security Uncategorized
Text Uncategorized
Utilities Calendars Counters Link Checkers Weather Uncategorized
XML Uncategorized
| php sample source codes |
|---|
|
KISS = "keep it simple stupid"
This is a pretty simple if statement that I did for a cobol program works like a champ
|
|
This code puts results from a mysql_query into rows and the colors of the rows alternate. Useful for displaying information such as schedules or lists.
|
|
This is a simple way to alternate row colors in php
|
|
if u need to put some colors in your tables or any where else this code can help you,
Any comment or opinion email me
|
|
<p>This nifty little pice of code is probably the best method, because it means you can have unlimted colours, 4, 4, or 5 colours...
<p>There's nothing complicated about it either... it's but 2 lines of code at the end of a loop...
|
|
This small bit of code is an effecient way of alternating colors in an HTML table when printing the results of a database query.
|
|
An simple function designed to alternate row colors in a table.
|
|
This code will show you how easily to handle an alternative colored rows using defined function I called it as foxcol($x) where $x is int
|
|
<p>This nifty technique can be used for generating alternating colours using 2 colours...
<p>It's small. It's quick and it's faster than most methods i've seen.
<p>Pretty simple really, use the % (mod) operator in conjunction with the ? : triniary operator and bingo! Alternating row colours...!
|
|
complex Table class for gegeration of HTML Tables with most of Tag-features.
Table can flexible resized ( add rows or columns ) during script, so that it is not possible to know how many lines you need in the Table ( e.g. select statement from database ).
Values of the TD's can be assigned in every order you want. also overwriting of values is possible, because the HTML code is sent at the end of code and not everytime you change the table definitions.
All tags are used ( e.g. rowspan, colspan, backgroundcolor .... ) at least for ns 4.78. Everything can be viewed in most Browsers ( tested i.e 4.0 and upper, NS 4.78 and upper, Opera )
Every row may be a header.
maybe some small bugs, but is working in productive system.
|
|
This PHP script will take the contents of a character delimited text file and create a nice looking table for it.
|
|
This class create a ajax-driven dynamic table.
Data are retrieved fron an SQLite database and updated on-the-fly as the user changes them.
Full package downloadable here
http://www.evolvetechnologies.it/duepuntozero/esempi/dyntable_sqlite.zip
|
|
A simple code to present data from the database with altering background color
|
|
PHP 5 Class to generate HTML tables. Fixes most of the common problems with tables (empty cells, different number of columns per row, etc). Supports all w3 standard tags and attributes. Allows for alternating row colors (any number of colors may be used).
|
|
Why yet another table formatter? Because this allows to put more than one db field in the same table cell, or to use the same field in more than one cell.
The example should explain better than my English.
|
|
This example shows a table with 15 rows. Each row alternates the background color between light blue and dark blue.
|
|
a PHP class that allow to generate table with e.g alternate row and columns colors, various cells dimensions, alignement, set header properties, ecc.
|
|
QueryPrint is a PHP class that prints the results of a SQL query in HTML format. The printing is defined in a seperate module class that can be modified or replaced.
QueryPrint also supports multiple page queries allowing the user to decide how many records to show on each page. The previous and next buttons are added automaticaly and as defined by the printing module.
|
|
Generate almost any HTML table very quickly and painless.
|
|
Creating a Table with $x cols per row
|
|
A simple one line row color swapper.
|