Alternating colors for rows and columns helps the PHP programmers to display their site contents with an attractive color matches. This tutorial explains the syntax for setting two colors for alternate rows and columns in a table. Seperate source...
Dynamically Add Table Rows is a JavaScript, which can be incorporated in you web pages to modify contents of a web page. The script displays a link, using which the user can click on it and can dynamically insert rows to the table of your web...
More DataGrid/Repeater Tips: Numbering rows in your grid is a tutorial which helps you to number the rows in your datagrid control. This tutorial defines a function which generates the number automatically whenever a new row is added in the...
Summary Rows in DataGrid Controls is an article for the .NET programmers to create summary rows and add it to the datagrid controls. Summary rows are the group of records from the database table having a common key. This tutorial clearly explains...
Display via SSI rows of summary info in the format of "Field1 : Field2". For example, "US Dollar : $3.80", "Gold : $8.95/gram", "New Castle 1 : Liverpool 2", "Champion : Mike Tyson" etc. Features...
In this article, the author gives a simple code in PHP for counting the number of rows or records in a database. He gives some sample PHP script function for this. He also gives notes on how the mysql_num_rows function will work only for select...
1. Display alternating color rows in a DataGrid, while keeping specific columns all a single color. / 2. Change the colors of specific header backgrounds. Currently, one can change the color of the entire header row via the "header"...
This script allows users to move rows up and down on a table by simply double-clicking on the source row and then again on the destination row. By using a double-click event handler, one can avoid "clashing" with click events, thus,...
If you paste this script in your source, all the links of the site automatically include the URL in the title tag. Also available for images, writing the size, URL or other useful attributes into the alt tag and some other snippets on my site.
This script allows users to insert and/or delete rows and columns in a table. |