Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
try
{
$dbh = new PDO ("mysql:dbname=onlineshopDB; host=localhost", "user1", "abc");
$newcustomer->setCustomerNumber($dbh);
$dbh = null;
}
catch(PDOException $e)
{
print $e->getMessage();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment