table

MySQL Backup: Can I copying individual MyISAM table files to another server with different MySQL version and different OS?

I means copying individual MyISAM table files is: (shut down mysqld and copy the .frm, .myd, and .myi files from one database folder to another) Question: (a) can I use this way to backup MySQL database folder from one server to another server with different MySQL version? (b) can this backup files moved to different OS? (example: debian...

Prevent tidy from adding html tags

I have a class that generates some html (form elements and table elements), but this class returns all the html in one line. So I am trying to use tidy to beutify the code (indent the code, put line breaks, etc), the only problem I am having is that's also generating the tags I don't want. Here is the code: tidy_parse_string( ...

evenly spacing multiple line item text without using a table

Hello, I'm trying to create an unordered list of <a>text1 text2 text3</a> elements, with a while loop. This list is then styled using #sidebar li a in my CSS. My problem is that the text1, text2, text3 that is passed into each <a> element in my while loop can take on different lengths and I would like for them to be spaced equally l...

Offline tool to work with MySQL databases like phpMyAdmin?

Like phpMyAdmin has to be installed as a web application to work with MySQL databases, is there a downloadable program that can connect to a remote MySQL server to create, read, update and delete databases, tables, columns and rows? ...

Is there any C# equivalent to Perl's HTML::TableExtract?

I need to grab a table from a HTML to get the data contained in the table. I've learned from you that it can be solved easily by Perl's HTML::TableExtract. Since the grabbed data will be showed off by "C#" , so if there is C# equivalent to Perl's HTML::TableExtract, it will easier for me to implement the whole app. ...

Fixed <thead> in <table>

<table border="1" style="height:50px; overflow:auto;"> <thead> <tr> <th>Col 1 </th> <th>Col 2 </th> </tr> </thead> <tbody> <tr> <td>Cell 3 </td> <td>Cell 4 </td> </tr> <tr> <td>Cell 5 </td> <td>Cell 6 </td> </tr> </tbody> </table> I'...

Tabular layout: improve design?

I'm designing a form: image and code below. There are about 30 more sections like this, and I just need the inputs (right) to align to the list (center). What's the best way to do this? Can I just alter my table HTML to make it work? <table border="1"> <thead> <tr> <th>Category</th> <th>Risk Factors</th...

HTML CSS Padding-bottom 0 does not work on firefox

I have a table as follow: <table> <tr> <td> *PROBLEMATIC CELL* </td> <td rowspan="2"> </td> <td rowspan="3"> </td> </tr> <tr> <td> </td> </tr> <tr> <td colspan="2"> </td> </tr> </table> The first cell of the first row, has a padding at the bottom. Well it's not really padding but it looks like padding and using firebug I can not fin...

Changing background color of table rows based on click event with jquery

When the document is ready to be manipulated, jquery adds a class to every even row, and another to every odd row, in order to visually see the different rows. But whenever I update (sort based on header) the rows, they don't update no matter what i try. <script type="text/javascript"> $(document).ready( function( ) { $('table ...

Saving changes after table edit in SQL Server Management Studio

If I want to save any changes in a table, previously saved in SQL Server Management Studio (no data in table present) I get an error message: "Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled t...

Relations via magic-table

I encountered an interesting SQL table (column names listed): From_TableName | From_Id | To_TableName | To_Id From what I understood, this table is used for all table relationships in the database. There's not a lot of data (more than 10000 lines in the previously mentioned table) in the database, so, I guess, performance was not that i...

Is there a way to change permissions for all the tables in SQL-server database at once?

I want to change the permissions for all the tables in a SQL-Server database at once. Is there a way to do this? ...

R accessing DB query results by column and row number

Hi, I am new to R language. I have successfully loaded a query's resultset into a variable. Now I want to access the resultset data by column name and row number. And I need to verify if it is Null (it is shown as < NA > in result) then send a mail by bat file with php. My sample code is below. library(RODBC) newconn = odbcConnect("db...

Column total NAN error

I am using this bit of code to add the values in a table column which works pretty well until it encounters a null td cell with a   value. From that point on in the loop, I receive a NaN error in my alert. I'm wondering how to ignore these non-numeric values or replace them with zero for the calculation? Thanks jQuery(function() { ...

Slim but long SQL Server 2005 Table

Hi, I have an SQL table with the following structure: Code1 - int Code2 - int Val1 - real Val2 - real Val3 - real There is only one index (clustered) were Code1 is the first indexed column and Code2 is the second. The size of a single record is 20bytes. I need to be able to store around 150,000,000 records and the biggest select ...

how to get SQL Server table data completely by small parts without index

I have SQL Server table without any indexes, and i can not add them. There are millions of records in that table, and i can not get all records with single query because of insufficient memory. How can i get all records in small portions - for example 100 records per portion? ...

HTML Table with cell background text

What is the best way to go about displaying an html table with text in the background of each cell? I am making a calendar and I would like to have grey dates in the background of actual text. The only thing I can think of at this point is to have the date and the cell content in separate divs that float over one another but even that i...

img with {display: table-cell} -- is it a bug?

I want to use the display: table-* css properties to format a list of photos. I believe that below is a "correct" implementation of it, in that there's nothing theoretically wrong with it, but it displays in Firefox and Safari with the table layout screwed up, as you can see by the borders. For a comparison, try wrapping both img tags be...

i want to compare 2 word document (both tables) and findmatches in c#

i have 2 word document and they both contains table. i want to compare them and find matches in c#. the source could be in another word document (or in my ui, in a richtextbox). ...

import 495 Cell to TableView

Hi I want to create a table-view with 495 cells. I want to import cells with NSArray, is it right way? If yes, how can create 495 cells with simple code? Not like this : @"Cell 1" @ "cell 2" @"cell 3", @"cell 4", @"cell 5" ............. @"cell 495" ...