PDO Insert does not

Hai folks,

strange, my basic insert query does not work. i have no clue whats going on.

$query = $db->prepare("INSERT INTO 'visa_details'(company_id,visa_number)VALUES(:company_id,:visa_number)");

$query->execute(array(':company_id' => $company_id, 
                      ':visa_number' => $visa_number));
$affected_rows = $query->rowCount();

echo "affected rows " . $affected_rows;

affected rows 0 frowning

strings are quoted by quotes, field/table/database names are quoted (if at all) by backticks.

Suspiciously close to: Beginer : PDO Insert does not work

Are we perhaps doing homework?

Yea, i thought that query looked familiar…