|
||||
|
NOTE: To search this database, click on the letter representing the first letter of the surname you are interested in. This database is sorted bu surname. As such, an abode number has been added so that people from the same household can be quickly identified. ".chr($x).""; else echo "".chr($x)." "; } echo "Original View"; $letter = $_GET["letter"]; if (isset($letter)) { $qrySur = "SELECT * FROM 1920Michigan_census WHERE surname LIKE '$letter%'"; } else { $qrySur = "SELECT * FROM 1920Michigan_census"; } $result = mysql_query($qrySur); $num_rows = mysql_num_rows($result); echo " (Total Number of Records in Database: $num_rows) "; //Need to know the number of rows, so use this line $num_rows = mysql_num_rows($result); //Set a new variable called $rows $rows = ceil($num_rows / $columns); //For this vertical display, need to run another loop, which will populate an array with our values while($row = mysql_fetch_array($result)) { $surname[] = $row['surname']; $given[] = $row['given']; $relation[] = $row['relation']; $info[] = $row['info']; $abode[] = $row['abode']; $remarks[] = $row['remarks']; } echo "
If you have a database or information that you would like to put into our database, that pertains to Lithuanian genealogy, please contact us at webmaster@lithuaniangenealogy.org |
||||