|
||||||
|
If you have additional information for any surname listed on this page please contact us! ".chr($x).""; else echo "".chr($x)." "; } echo "Original View"; $letter = $_GET["letter"]; if (isset($letter)) { $qrySurname = "SELECT * FROM olod_cemetery WHERE surname LIKE '$letter%' ORDER BY surname"; } else { $qrySurname = "SELECT * FROM olod_cemetery ORDER BY surname"; } $result = mysql_query($qrySurname); $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']; $dob[] = $row['dob']; $dod[] = $row['dod']; $inscrip[] = $row['inscrip']; } 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 |