Using XAMMP or WAMMP on my MAC, I am seeing some odd behavior when attempting to retrieve some values from a BIGINT(10) MYSQL field, and I can only assume its the MYSQL bind or PHP echo, the same code works fine on a PC.
when I echo the $row[0]->PHONE_NUMBER or $row[0]->PHONE_EXTENSION in XAMPP on MAC or WAMMP on MAC the browser renders "%qd"
This same code/schema on windows renders the numbers normally.
Thoughts? Should I have any other concerns?
Thanks
Code:
$stmt = mysqli_prepare($this->connection, "SELECT USER_ID, USER_NAME, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, PHONE_EXTENSION FROM `USER` WHERE `USER_ID` = '".$userId."' LIMIT 1;");
mysqli_stmt_execute($stmt);
mysqli_stmt_bind_result($stmt, $row->USER_ID, $row->USER_NAME, $row->FIRST_NAME, $row->LAST_NAME, $row->EMAIL, $row->PHONE_NUMBER, $row->PHONE_EXTENSION);
when I echo the $row[0]->PHONE_NUMBER or $row[0]->PHONE_EXTENSION in XAMPP on MAC or WAMMP on MAC the browser renders "%qd"
This same code/schema on windows renders the numbers normally.
Thoughts? Should I have any other concerns?
Thanks