Contact
Contacts
Robert W. Hickman304 Baron Court
Lexington, SC 29072
P: (803) 730-4906 E-Mail Me
rwh@rwhickman.com Gallery Hours:
Currently gallery hours are by appointment only. Please contact me at one of the options above to schedule a visit.
$dbHost = "p3plcpnl0849.prod.phx3.secureserver.net"; $dbUser = "RWHWeb"; $dbPass = "Boykin1!"; $dbDatabase = "RWHWeb"; // Connect to DB $con=mysqli_connect($dbHost, $dbUser, $dbPass,$dbDatabase); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } ?> $get_rs = mysqli_query($con,"SELECT gbName, gbEmail, gbComment, DATE_FORMAT(gbDateAdded, '%m-%d-%y') gbDateAdded FROM Guestbook WHERE gbPrivate <> 1 AND LENGTH(gbName) > 3 AND LENGTH(RTRIM(gbComment)) > 3 AND mediated = 1 ORDER BY gbid DESC"); // While there are still results while($get_row = mysqli_fetch_array($get_rs)) { $name = $get_row["gbName"]; $email = $get_row["gbEmail"]; $comment = $get_row["gbComment"]; $date = $get_row["gbDateAdded"]; // Append to string we'll print later on $gb_str .= "
\"$comment\"
$name
Currently gallery hours are by appointment only. Please contact me at one of the options above to schedule a visit.