Tag Archives: how to

How Do I take a picture of a website to save on my computer?

The correct term for this is a “screen shot”.  There are a couple of keyboard shortcuts that will allow you to do this, but you will also need some type of graphics editing program, paint, ms word, or something similiar.
The keyboard commands are ALT + Print Screen,  CTRL + Print Screen.  One gets just the [...]

How To Get The Last MySQL Auto-ID in PHP

There will be times when you will need to retrieve the last auto id on a table where you just did an insert. They way to do this is as follows:

<?php
$link = mysql_connect(‘host’, ‘user’, ‘pass’);
if(!$link)
{
die(‘could not connect: ‘. mysql_error() ) ;
}
mysql_query(“INSERT INTO table (field) values (‘val1′)” );
echo “Last ID is “.mysql_insert_id());
Be sure you do [...]

How To Control Immigration

First a short excerpt from the news:

WASHINGTON (AFP) – Immigration will drive the population of the United States sharply upward between now and 2050, and will push whites into [...]