Recognition

Posts

3 Posts
  • Published Question

    INSERT INTO syntax Error MYSQL with PHP

    I attempt to insert data with this code $username = mysqlirealescapestring($mysqli, $POST["username"]); $userpass = mysqlirealescapestring($mysqli, $POST["userpass"]); $useremail = mysq...
    2 By VPFedoraguy
  • Published Question

    Access denied for user 'admin'@'localhost' (using password: NO)

    First off I connect using this code here. php $mysqli = new mysqli("localhost", $username, $password, $database); This works fine, I log in under root, (I know I should create a new user for security, but this so far...
    1 By VPFedoraguy
  • Published Question

    How do I connect to a mysql database through PHP, running LAMP Ubuntu 14.04

    I am trying to connect using this code. $username = 'root'; $password = 'password'; $database = 'localhost'; $mysqli = new mysqli("104.236.80.149", $username, $password, $database); if ($mysqli->connecterrno) { ...
    1 By VPFedoraguy