The Arch Bishops welcome note
Untitled Document
if($_GET[wnot1]){
$sresult = mysqli_query($con, " SELECT * FROM welcome_note")or die('Could not connect: ' . mysqli_error($con));
if($row1 = mysqli_fetch_array($sresult))
{
$from = $row1["sFrom"];
$note = $row1["Note"];
$PICS = $row1["PICS"];
}
}elseif($_GET[wnot2]){
$sresult = mysqli_query($con, " SELECT * FROM welcome_note2")or die('Could not connect: ' . mysqli_error($con));
if($row1 = mysqli_fetch_array($sresult))
{
$from = $row1["sFrom"];
$note = $row1["Note"];
$PICS = $row1["PICS"];
}
}elseif($_GET[wnot3]){
$sresult = mysqli_query($con, " SELECT * FROM welcome_note3")or die('Could not connect: ' . mysqli_error($con));
if($row1 = mysqli_fetch_array($sresult))
{
$from = $row1["sFrom"];
$note = $row1["Note"];
$PICS = $row1["PICS"];
}
}elseif($_GET[wnot4]){
$sresult = mysqli_query($con, " SELECT * FROM welcome_note4")or die('Could not connect: ' . mysqli_error($con));
if($row1 = mysqli_fetch_array($sresult))
{
$from = $row1["sFrom"];
$note = $row1["Note"];
$PICS = $row1["PICS"];
}
}
?>
|
if($PICS){$mysock = getimagesize("uploads/".$PICS);?> >}?>
|