This should be easy, but it's kicking me squarely in the pants and I don't know what I'm doing wrong.
Here's what I'm using:
$sql=$conn->prepare("SELECT homepage_id from employers where id=:id");
$sql->bindParam(':id', $id, PDO::PARAM_INT);
I get no errors but no value and there is a value in the database that should be coming up.
What am I doing wrong?