My account

query($sql);

if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
echo “Consignor Num: ” . $row[“CONTACT_NUM”]. ” – Name: ” . $row[“FIRST_NAME”]. ” ” . $row[“LAST_NAME”]. ”
“;
}
} else {
echo “0 results”;
}
$conn->close();

?>