table

Checkbox in first cell of each row in an html table displaying mysql query results

I have a simple HTML table display of data that results from an MySQL query. I would like to have a checkbox in the first cell of each row. I am asking for some suggestions as to where I might go looking for information on how to make this interactivity possible, as I'm sure this is not a "quick-answer" type of question. Example: http...

How to make separating lines/borders in a table disappear with CSS?

I have a simple HTML table, and I wish to have the separating lines (/ borders?) disappear. The desired end result is a table that is invisible except for the actual text. I've tried setting the "border" attribute to 0, didn't help. What is the correct CSS attribute that I should use? ...

Newbie Question about batch files/table read ins

I am trying to write a little script that will help my office automate the uploading of zips and self extractors to a ftp site. They have to create several zips/se's and name them various different things etc. My idea is for them to have a little table they could type in (i.e. the name they want the file to be called, the location of...

Lua's hybrid array and hash table; does it exist anywhere else?

Lua's implementation of tables keep its elements in two parts: an array part and a hash part. Does such a thing exist in any other languages? Take a look at section 4, Tables, in The Implementation of Lua 5.0. Lua 5.1 Source Code - table.c ...

PostgreSQL: purge all tables

Possible Duplicate: How to empty a SQL database? What is the fastest way to delete all records from all tables in the db supposing they do not have too much data(may be a few records in some tables but no more)? I believe that recreate the database from structure dump is much longer variant. ...

Getting Error while read the data from table

Hi all, I am displaying the all the data in gridview from database table. I have attached the database file in app folder. But after writing the while i am running the application getting error like "Cannot open database requested in login 'Employee'. Login fails. Login failed for user 'HOME-47F64BE31D\Administrator'." Here is all my co...

Deciphering a function

A short time ago, a gentleman posted this function in an answer to a question. As a learner, I am interested in understanding the function. However, I can't get it to work as is. The poster did not say that he had tested the function, so it could have been a "conceptual" post, meant to show direction. OTOH, I may not be invoking it c...

Formatting for displaying source code on a web page

I'm working on a Markdown command line program, and I'd like to format source code blocks in the html output a bit better than a simple <pre><code>....</code></pre>. My criteria are: I want line numbers shown in front of each line I want the code by itself to be selectable so that I can copy only the code (and not the line numbers) to...

IE6 problem: when the last insert table row is deleted, the width of second cell of first table row became 0

I'm sorry that I can't find a property title of my problem. I wrote a simple web page and some javascript to insert table row and delete it. Now my problem is when I delete the last inserted row, the second cell of the first table row's width became zero in IE6. Anyone can give me some advice? Great thanks. <html> <head> <meta http-equi...

Alternative to <table> layout in HTML

So right now I have a webpage setup to be exactly the size of the browser window with a couple overflow:scroll 's in it. Basically the page is arranged in two columns and three row of a table. I would like to not use tables for style/formatting so my question is how would I make this migration. My page (in a nutshell): <html><body> <ta...

Python Qt: embedded html bug?

Hi Everybody, Here is a strange thing that is happening... I have used embedded html with Qt Python to display a form inside the GUI/Widget. The problem is, if the cell has more content, it shows a black shadow like a box on the right side of that cell/table. Here is an example of the code working fine: html += ("<BR><BR><table bo...

Partitioning Existing Tables

Hello, How do i partition existing table in SQL Server 2005/08 ? I couldn't find a better clue on it. ...

jQuery selecting columns in tables and updating values onClick with both th and td present in table

I am trying to update cost values in a seperate div from an external XML file when a user clicks on a table column. My table structure is as follows: <table id="benefit" class="portletTable benefitsTable" summary="This table displays the level of of benefit you would receive."> <caption>Table of benefits</caption> <thead> <tr> <...

Custom aligning text in a Table in LaTeX

Basically, I want to produce the following table in LaTeX (Notice the "comma alignment" of the second cell) : ---------------------------------------- | Header1 | Header2 | ---------------------------------------- | 1 | "value 1" , "value 2" | | 2 | "one" , "two" | | 3 | "abcdefheas...

Can this Postgresql table be converted to a MySql table?

Given a Postgresql table schema: create table thing ( id serial primary key, key text, type int references thing, latest_revision int default 1, created timestamp default(current_timestamp at time zone 'utc'), last_modified timestamp default(current_timestamp at time zone 'utc') ); $for name in ['key', 'type',...

Creating mysql table with explicit default character set, what if I don't?

In mysql 5.x Whats the difference if I do something like this: CREATE TABLE aTable ( id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY, aNumber bigint(20) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8; with this: CREATE TABLE aTable ( id BIGINT NOT NULL AUTO_INCREM...

A static row in an HTML table

I'm trying to create a file listing a la windows explorer in HTML/Javascript. As such, I'd like the first row of the table, which contains the headings for all the columns, to be visible even when the columns are scrolled. I've tried a few options involving placing the headings in a separate table, but all have failed for primarily one ...

Rowspan when <a> element is clicked with Jquery?

Hi all, I was trying to get this with divs and css, but I was advice to do it with JQuery and tables instead. The case is that I am trying to make a two rows table with 5 cells in first row and 4 on second. When you click on one of the inside of the cells on the top, that cell will span the row and change background-image, taking th...

How do I change the table and cell backgrounds to custom images in Interface Builder and xcode?

How do I change the basic table to custom images in Interface Builder and xcode? Interface builder provides a boring white background for each cell. I want it to look more custom. I want to change that into something like this: http://tinypic.com/view.php?pic=51ufwg&amp;s=6 Thank you. ...

SQL: Creating new table from data of other tables

Hi, I'm very new to SQL and I hope someone can help me with some SQL syntax. I have a database with these tables and fields, DATA: data_id, person_id, attribute_id, date, value PERSONS: person_id, parent_id, name ATTRIBUTES: attribute_id, attribute_type attribute_type can be "Height" or "Weight" Question 1 Give a person's "Name", ...