Login | Register | FAQ
Anonymous

Help -- MySql to PDO

+ Post a reply

2 posts Page 1 of 1


Help -- MySql to PDO

by Muhammad Ibnu Jawwad » Wed Dec 10, 2014 3:00 am

Can You help me to fix this MySql Code to be PDO please . . .

require_once('fungsi_validasi.php');
$server = "202.155.27.139";
$username = "undaraci_admin";
$password = "undaracialloh";
$database = "undaraci_undar";
$pdo = new PDO("mysql:host=$server;dbname=$database", $username, $password);
$val = new validasi;
User avatar

Muhammad Ibnu Jawwad

  • Posts: 1
  • Joined: Wed Dec 10, 2014 2:47 am

Re: Help -- MySql to PDO

by XainPro » Thu Dec 11, 2014 11:19 am

what's the error it's producing ?
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm


+ Post a reply

Page 1 of 1