MySQL Forums
Forum List  »  PHP

Re: Syntax error preventing creating of database
Posted by: Gustavo García
Date: September 19, 2016 07:23AM

You lack a closing parenthesis. Line 10 should look like this:
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

Options: ReplyQuote


Subject
Written By
Posted
Re: Syntax error preventing creating of database
September 19, 2016 07:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.