Unfortunately, so will aaa, which is what I'm trying to avoid. I guess I'll have to set something up with div tags and absolute positioning...thanks for the suggestions everyone.
The image idea would work to contrain the minimum height of that table cell, but say the rightmost cell (containing ccc) were to expand in height. Then the upper left cell would still grow.
I've thought about ways of getting the height attribute via getElementById of the rightmost cell, but if...
I'm trying to keep a cell on the top left side of a table a constant size. Unfortunately in IE with the method I'm using, the two cells that are spanned by a td with rowspan=2 become the same size. If you render the blow code in firefox, it behaves the way I want and expect, but not in IE...
I'm running a php flash content server, and if I'm not mistaken, users viewing my files fall into the "Other" permissions group.
I was wondering if through my php code (or any other way really) I could allow users to fall into the "Group" or "Owner" permissions group.
The problem is that I...
I'm serving up flash content through an IE browser that I really don't want stolen. I've been able to stop it from caching, or being accessed directly with file permissions.
However, there are all sorts of obnoxious programs like "Sothink SWF Catcher" and "Flash Catcher" that have no problem...
I'm having some issues testing a login system. I log in a one user, then open a new browser window. If I then call session_destroy, the user who is allready logged in will have his session destroyed. Also, if I log in with a user while another user is logged into the system allready, the user...
Is it possible to select all non-null values from a table row and update another table row with them? For example, the table before the statement is run:
Id Val1 Val2 Val3
1 3 4 1
2 NULL NULL 5
And after:
Id Val1 Val2 Val3
1 3 4 5
2...
Ok, how about parsing the file, taking each value that I don't want to change, and re-writing them? Then of course, taking the one that I do want to change and altering it? Can this all be done within the same file?
How would I go about replacing a string in an existing text file? For example, the file example.txt contains:
Item1
Item2
Item3
I have no problem iterating through the file and getting each line value, but is there some way to say, replace the value "Item2" with "newItem2" without touching...
When trying to construct a class object containing another class object, I get the error:
"no matching function call to "PlaneId::PlaneId
candidates are: pLaneId::PlaneId(const PlaneId&)
PlaneId::PlaneId(const std::string&, int)"
Here are my two class files:
// File: Planes.h
#ifndef...
I'm trying to create a map of two different classes, but can't seem to set a value to a key. Here's my code:
#include <map>
#include <string>
#include <vector>
#include <iostream>
using namespace std;
class Student {
public:
Student(const string& si, const vector <string>& c) ...
I'm trying to excecute a command in dos from within my Java program, something like ("java " + commandline), but I can't get it to work.
This lcode is in Driver.java:
String commandline = "Cat file.txt";
Runtime rt1 = Runtime.getRuntime();
Process pr1 = rt1.exec("java " + commandline);
And...
I have an update trigger that records to an audit table. The problem is that an update could affect multiple rows, and this code only returns the first row affected in the lab_batch table. Is there some way to insert multiple records into the aud_lab_batch table?
Here's the code:
CREATE...
I have a temporary table #result that looks basically like this:
unit_number deferral_days
1 50
2 20
3 102
And a table lab_unit that has the same fields. I want to update lab_unit for each unit_number...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.