Start adding forums.php

This commit is contained in:
SilicaAndPina 2021-07-10 03:01:37 +12:00
parent db82b96faa
commit 1900da2abf
159 changed files with 232 additions and 261 deletions

View file

@ -111,7 +111,6 @@ if(isset( $_POST['user'],$_POST['pass1'],$_POST['pass2'],$_POST['sex'],$_POST['e
populate_db();
$connect = mysqli_connect($dbhost, $dbuser, $dbpass,$dbname) or die("Unable to connect to '$dbhost'");
$result = mysqli_query($connect, "SELECT MAX(Id) FROM Users");
$user_id = $result->fetch_row()[0] + 1;
if($user_id == NULL)
$user_id = 0;