Hi,
Why I am getting the above error! it's making me crazy!
the url shown for this error on chrome is memberhome.php
I am not getting this error on my localhost but only getting it when I upload my website to the host
here is the code for it:
include 'includes/php_header.php';
// require 'PHPMailer/class.phpmailer.php';
// require 'twilio-php/Services/Twilio.php';
require 'includes/connect2db.php';
if (!isset($_SESSION["member_loggedOn"])) { exit(header("Location: signin")); }
// include 'includes/connect2db.php';
$mysql_command = "CALL sp_get_member_personal_information(:param_member_guid)";
$mysql_query = $mysql_connection->prepare($mysql_command);
$mysql_query->bindParam(':param_member_guid', $_SESSION["member_guid"], PDO::PARAM_STR);
$mysql_query->execute();
$mysql_row_count = $mysql_query->rowCount();
if ($mysql_row_count <= 0) { exit(header("Location: signin")); }
while ($mysql_row = $mysql_query->fetch())
{
$member_title = $mysql_row["member_title_name"];
$member_full_name = $mysql_row["first_name"] . ' ' . $mysql_row["middle_name"] . ' ' . $mysql_row["last_name"];
$member_brief_introduction = $mysql_row["brief_introduction"];
}