Is there a way using media="print" to hide a footer (DIV) if it happens to end up on a page of it's own?
I'd like to have a footer that appears on every page. Is that even possible? If not, I need to hide the one down there so a whole page doesn't print just to see the footer.
This works no problem on Firefox, but do I need to do something to get it to work in IE. It only hides the <span> item, but doesn't get rid of the border and background color.
JAVASCRIPT:
function hideBox(id){
document.getElementById(id).style.backgroundColor = ""...
Is it possible to connect my netgear wireless router to my linksys wireless router wirelessly and use the netgear as an access point/repeater?
I don't want to have to run network cable downstairs in my house and was wondering if this is possible.
My sessions variables are not sticking on a Windows IIS server.
I use
session_start();
$_SESSION['blah'] = "no longer empty";
and
if(empty($_SESSION['blah'])){
echo "empty session variable";
} else {
echo $_SESSION['blah'];
}
output: empty session variable
PHP.INI Settings...
I am curious if anyone has heard of this being done, or know how to do it, but in the same way in most OS if you are looking at a folder that contains a lot of files, you can begin typing some letters and it automatically takes you down to the area of what you are typing.
------------------...
I found somewhere a few lines of code that will do a basic convert from a CSV file into an SQL statement.
I'm having a bit of a problem with it when a particular field has commas inside it. It seems to recognize the commas somewhere in this method, but I don't quite understand how it's doing...
I have installed PHP on a Windows IIS (ISAPI) version and I'm running into some problems. This is the first time i've personally installed PHP so I may have forgotten some things that I'm used to having.
To start off, I'll tell you what IS installed:
PHP 5.1.6
Collection of PECL modules for PHP...
I have a large string of text (variable) and i need to loop through it and count how many commas are in each group of the string. The string is in a variable ($string) and each group is surrounded in parenthesis (data, data, data).
so if
$string = (data, data, data), (data, data, data), (data...
I need to be able to monitor new records in a table (in a live way).
The easiest way I figured to do that would be to run a loop and when the total number of records in a table changes, then proceed with whatever else the page needs to do, then, just start over.
The way I went about doing this...
I have a main page with 2 iframes on it.
main page ----- iframe1
|
|
|------------- iframe2
Is it possible to refresh iframe1 from inside iframe2?
i tried this, but it doesn't work:
<script type="text/javascript" language="javascript">
<!--
function refreshIframe(){
var iframeid =...
Is there and easy SQL syntax to move or copy rows from 1 table to another?
I'm creating a temporary table and after matching duplicates, and deleting the duplicate rows, i want to move or copy the remaining rows into the permanent table.
I am dynamically creating a table based on an uploaded CSV file, and I'd like allow the user to see this information. My query is simply SELECT * FROM `temp`. How do I go about displaying the content of this table onto the page, since the number of columns could vary?
How do I extract only a portion of a string between two characters?
I.e.
$string = "(blah blah blah) ( blah blah ) (blah)";
$result == "blah blah blah";
Which is the first portion between the first parenthesis.
My hosting company doesn't offer Zend Optimizer at this time and from what I understand the function: cal_days_in_month() is included in that. Is there a place i can find a copy of this function or an alternative to it? Thanks.
I am very new to XML and don't quite understand how to use XML feeds to benefit users on my website. I would like to have feeds of weather/traffic/news on my site, but I don't want everything inside the XML feed. I would prefer to select what information is visible to the user and give them the...
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.