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