When I run the code, the record is inserted even though there is already a record in the table.
$query = $qry_contact_church_owner->prepare('INSERT IGNORE INTO contact_church_owner ( id_contact_church, al_username ) VALUES ( :id_contact_church, :al_username )'); $query->bindParam(':id_contact_church', $id_contact_church); $query->bindParam(':al_username', $al_username, PDO::PARAM_INT);
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.