Link to home
Create AccountLog in
Avatar of burnedfaceless
burnedfaceless

asked on

Warning: PDO::__construct() expects parameter 4 to be array, string given

?php
  $db = new PDO('mysql: host=host.com',
    'dbname=name',
    'user',
    'pass');
?>
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account