But on your live page, it says string(1) "" (i.e., it claims the string length is 1, but prints an empty string). I don't know of any situation where var_dump would produce this output normally (or, at all). Can you show us the code that you are using to produce this output?
<?php
$mysql_query = $mysql_connection->prepare("CALL sp_admin_populate_ticket_messages(:param_ticket_id)");
$mysql_query->bindParam(':param_ticket_id', $support_ticket_id, PDO::PARAM_STR);
$mysql_query->execute();
while ($mysql_row = $mysql_query->fetch())
{
$is_support_reply = $mysql_row["is_support_reply"];
var_dump($mysql_row["is_support_reply"]);
echo "<br><br>";
if ($is_support_reply)
{
echo "<div style='background-color: #eee9e9; padding: 10px;'>";
echo "<b>Our Replies :</b><br><br>";
}
echo date('d M Y - H:i', strtotime($mysql_row['created_date']));
echo "<br><br><hr>";
echo $mysql_row["support_ticket_message"];
echo "<br><br>";
if ($is_support_reply) echo "</div>";
echo "<br>";
}
?>
<?php if ($allow_replies) { ?>
<div>
<form method="post" action="reply_support_ticket?id=<?php echo $_GET["id"]; ?>">
<h1>Reply :</h1>
<textarea cols="80" id="txtMessage" name="txtMessage" rows="20" required></textarea>
<script>
// Replace the <textarea id="editor"> with an CKEditor
// instance, using default configurations.
CKEDITOR.replace( 'txtMessage', {
uiColor: '#14B8C4',
toolbar: [
[ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
[ 'FontSize', 'TextColor', 'BGColor' ]
],
height: 200,
width: 600
});
</script>
<br><br>
<input type="hidden" id="chkSupportReply" name="chkSupportReply" value="0">
<input type="hidden" id="chkCloseTicket" name="chkCloseTicket" value="0">
<button id="btnSend" type="submit" style="width:180px">Send</button><br><br>
</form>
</div>
<?php } ?>
…as you say, on your local machine. By "remote" (in your thread title) I assume you mean your live server - have you confirmed that the query is successful there?
yes it's the live server at dreamhost.com and yes it's the query is successful on remote server.