"); $db = mysql_select_db($db_name, $connection) or die("db selection error."); if(!$db) echo mysql_error()."
"; $sql = "SELECT visit_userID, visit_password, visit_last, visit_first, visit_email FROM $table_name WHERE visit_userID = \"$id\" AND visit_password = \"$pw\" "; $result = mysql_query($sql,$connection) or die(mysql_error()."
"); if ( mysql_affected_rows() >= 1 ) { while ($row = mysql_fetch_array($result)) { $sid = $row["visit_userID"]; $pw = $row["visit_password"]; $last = $row["visit_last"]; $first = $row["visit_first"]; $email = $row["visit_email"]; } } if ($op == "ds") { if ($sid != $id) { $msg = "

Invalid login - Try again

"; $admin = "invalid"; } else { $msg = "$sid $id" ; $admin = $sid; $visit_id= $sid; } } if ($admin != $visit_id ) { $display_block = "
$msg
Visitor ID:
    Password:
"; } else { $display_block = "
Valid Login for:

$first $last

CLICK HERE to continue "; } $to = "$email"; $subject = "DogHousePhoto Welcome Back"; $url = "http://www.DogHousePhoto.com"; $message = "Welcome back $first, Thanks again for visiting the DogHouse. Remember our online events expire as server space is needed, so please purchase your photos soon. Please visit us again."; $doghouse = "doghousephoto@earthlink.net"; mail("$to", "$subject", "$message $url", "From: $doghouse") ?> Member login DogHouse Sports Photography
Welcome to DogHouse Sports Photography
Create Visitor Account This login allows customers of DogHouse Photography to view and select sports event photos for purchase
Internet Protection
Please sign in, it only takes a minute

The intent of requiring our customers to sign in is to help protect the privacy of the children in these photographs.

Your information will be kept confidential.
Your login ID and Password will be emailed to you
Return Visitor log In