Jump to content

hinton92

New Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About hinton92

  • Rank
    Newbie
  1. I can't find the error, this is the whole code. I'm quite new to php and free to any advice. I use sublime text to create this. I hope you can help thanks in advance. <?php $pdo = new PDO('mysql:host=localhost;dbname=PoetsIN;charset=utf8', 'root', ''); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION) include('/classes/DB.php') ; if (isset($_POST['createaccount'])) { $username=$_POST['username']; $password=$_POST['password']; $email=$_POST['email']; DB::query(INSERT INTO users VALUES (\'\', :username,:password,:email)', array(':username=>$usern
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.