Do you miss your Nintendo, GameBoy, or Sega? Click on over to EveryVideoGame.com. Just don’t do it while you’re at work. You won’t get anything…
Do you miss your Nintendo, GameBoy, or Sega? Click on over to EveryVideoGame.com. Just don’t do it while you’re at work. You won’t get anything…
A recent job posting on Google’s web site has led to speculation that the search engine giant plans to buy unused fiber optic lines. These…
One of my web projects, like so many others, has a series of pages where data is displayed in a table. Often this data becomes too large for a single page, and it has to be broken down into separate pages. The 5 dollar word for this is pagination, and you’ve seen it; you just may not have known what it was called. When a page shows links to the next and previous pages and shows you on page x of y, this is what is being done.
Well, after a break for the past eleven days thanks to a server crash followed by a fiasco, my site is back up and running.…
A couple of days ago I wrote about an asteroid that had about a 2 percent chance of impacting the Earth on April the 13,…
Do you ever find yourself needing to shorten a string in PHP? Maybe return the first 25 words of a long story? Give this routine a try. It will return the first n words from a string, or the entire string if it is less than n words long.
Looking at the PHP documentation, it is not clear how to add multiple values for the same case in a switch construct. It seems that you should be able to do
case ("whatever" || "something"): //Do something; break;
But, you can’t. I tried, and it didn’t work. Fortunately, after much searching, I found a way to do it; and it’s not near as difficult as I was making it.
Open-source FireFox is putting pressure on Microsoft’s dominance of the browser market with over 13 million downloads since November. A companion email program, Thunderbird, was released earlier this month.
An asteroid has been rated as a level four threat to the Earth on a scale out of 10. This marks the first time that an asteroid has been rated higher than 1. Currently, there is a 1 in 45 chance that this asteroid will collide with the Earth on Friday, April 13th, 2029.
It should be pretty easy to get $_GET, $_POST, $_SESSION, or $_COOKIE variables in PHP code. The problem is that just entering $_GET[‘variable’] causes an error if the variable does not exist. What’s needed is a way to open the variable, and get a blank string if the variable is not defined.