table

Daily Backups for a single table in Microsoft SQL Server

Hello, I have a table in a database that I would like to backup daily, and keep the backups of the last two weeks. It's important that only this single table will be backed up. I couldn't find a way of creating a maintenance plan or a job that will backup a single table, so I thought of creating a stored procedure job that will run the...

Django query - join on the same table

i have a mini blog app, and a 'timeline' . there i want to be displayed all the posts from all the friends of a user, plus the posts of that user himself. For that, i have to make some kind of a 'join' between the results of two queries (queries on the same table) , so that the final result will be the combination of the user - posesor o...

seeking help with Chrome & Safari not rendering my table stretched to fit its contents...help?

I have an element on this web page I'm developing where I need my text to conform to the width of an image above it - whose width will always be different - think of captions. I have found numerous references to using a 1px table to force this width sizing behaviour. I am having problems, though with Safari and Chrome "seeing" this instr...

How do I create links in the cells of a PHP generated table?

I have a table generated from some PHP code that lists a SMALL amount of important information for employees. I want to make it so each row, or at least one element in each row can be clicked on so the user will be redirected to ALL of the information (pulled from MySQL database) related to the employee who was clicked on. I am not sur...

How to Place two divs to the next one

How can i place two divs the next one like this one in the Image. ...

Two tables side by side in one column LaTeX environment

The question is similar to this one: http://stackoverflow.com/questions/1491717/how-to-display-a-content-in-two-column-layout-in-latex but about placing two tables side by side. I have two small tables looking like that: \begin{table}[t] \begin{tabular}{|c|l||r|r||r|r|} %content goes here \end{tabular} \caption{some caption} \end{tabl...

Colspan in IE7/8 not respected

The DOM looks like this: <table> <tr> <td>a</td>...<td>g</td> </tr> <tr> <td colspan="3"> <table> ... </table> </td> </tr> <tr> <td></td>...<td></td> </tr> </table> Any idea why this wouldn't work in IE? I tried setting width:auto on the TD holding the inner table, and table-layout:fixed...

JQuery, Hierarchical Table pagination.

Hierarchical Table and table pagination is asked several times. But I am looking for both of them together. Am already using JQuery in my application so plugin using same will be useful, but I am open for any suggestion. At present I managed to display Hierarchical data by using some jQuery plugin and added my own pagination method, but ...

how to build a index table(python dict like) in python with sqlite3

Suppose I have one string list may have duplicated items: A B C A A C D E F F I want to make a list can assign an unique index for each item, looks like: 1 A 2 B 3 C 4 D 5 E 6 F now I created sqlite3 database with below SQL statement: CREATE TABLE aa ( myid INTEGER PRIMARY KEY AUTOINCREMENT, name STRI...

slide down new rows on table using jQuery

Hi. I have a table. When someone hits a link button (more) on one of it's rows, I want some new rows slide down and lie below this link and above lower rows. I used this script:(first I set "display" of those new rows to "none") $(document).ready(function(){ $("a").toggle(function(){ $(".classOfRowsToSlideUp").slideUp('fast'); $("....

SQL Table to another database

I have 2 databases on SQL (identical). I want a table from one database to be copied to the other database. They are both the same name and the original table can be overeritten. Cheers ...

Proper html markup of table tags?

kind of a silly question, but ive been seeing things such as tbody and thead/tfood tags in other peoples tables are these required even if they're empty for good markup? or can i just leave them out? thanks ...

PHPTAL and specyfic table

I have to create specyfic table in PHPTAL. so I have array like that: $tab = array('item1', 'item2', 'item3', 'item4'); Final table should be look like that: <table> <tr> <td>Item1</td> <td>Item2</td> </tr> <tr> <td>Item3</td> <td>Item4</td> </tr> </table> So I was trying use tal:cond...

jQuery $.live() doesn't work with table rows on the iPhone

Hello. I'm making table rows click-able with jQuery's $.live() function. Works perfectly on Chrome, Firefox and even desktop Windows Safari -- but not on the iPhone. $.bind() works everywhere, but for obvious reasons I'd like to use the other function. Does anyone have any idea why it doesn't work and how can I fix it? Example code belo...

How to join 2 tables & display them correctly?

http://img293.imageshack.us/img293/857/tablez.jpg Here is a picture of the 2 tables. The mybb_users table is the table that has the users that signed up for the forum. The mybb_userfields is the table that contain custom profile field data that they are able to customize & change in their profile. Now, all I want to do is display all ...

javascript table inside table not working

I am trying to make a table inside a table so I can organize stuff in the right place. But I simple cannot set the table width. Here is a picture of the table and circled in red is the table inside table that I´ve created, it has one row 3 colluns: and here is the code i´ve used to create the 2nd table: // attack type var farm...

how to restict number of images in a row to three ?

Hi i am populating the images from my database in a table,, how to restrict the images to three per row <table border="0" align="center" height="25%" width="25%" > <tr><td align="center" width="50px" bgcolor="#4b2d0e"><strong><font color="#FFFFFF">Friend List</font></strong></td></tr> <? foreach($Selected as $row) {?> <? $value =...

iTextSharp's RtfWriter Nested Tables

Hi. iTextSharp's RtfWriter2 in version 4 does not support nested tables (as far as I know). However, I think it should not be too hard to implement it. Did anyone try to do that? Is it possible to do it easily and without changing the actual source code of the library (only by deriving some classes)? ...

How to style a real nice datagrid?

Are there any css templates with images online (and for free) which you could employ to a html-table, and make a real nice datagrid? Something similar like Ext js or equivalent. I mean something "finished" someone has made. I have quite good css skills but don't trust my photoshop skills. ...

HTML/CSS/jQuery: How to set an "absolute text bottom" so that further text expands upwards?

This is kind of hard to explain, so I'll do my best: I want to have text content clamped to the bottom of a div - so that no matter how long the content is, it is always set to the bottom. So if I had: HEADER content 1 content 2 Content 2 would be lined up about 20px from the bottom of the parent div and if I had: HEADER content ...