Skip to content
Snippets Groups Projects
Commit 8d08a4ac authored by Sibidharan's avatar Sibidharan :speech_balloon:
Browse files

include fix

parent 7cefa3c2
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
class User
{
private $conn;
public static function signup($user, $pass, $email, $phone)
{
$conn = Database::getConnection();
......@@ -18,4 +19,10 @@ class User
// $conn->close();
return $error;
}
public function __construct($username){
$this->conn = Database::getConnection();
$this->conn->query();
}
}
<?php
include_once 'includes/Mic.class.php';
include_once 'includes/User.class.php';
include_once 'includes/Database.class.php';
function load_template($name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment