mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-19 00:20:35 +00:00
Random Group fixes
This commit is contained in:
parent
8ecd3f5921
commit
d8f2166a1f
8 changed files with 151 additions and 36 deletions
|
@ -120,7 +120,7 @@ if (isset($_POST['title_submit'])) {
|
|||
|
||||
if (isset($_POST['new_group_submit'])) {
|
||||
if ($user_info->is_loggedin()) {
|
||||
$group_name = $_SESSION['username']." new image group";
|
||||
$group_name = $_SESSION['username']."\'s Group";
|
||||
$sql = "INSERT INTO groups (group_name, author, image_list) VALUES('$group_name', '".$_SESSION['id']."', '')";
|
||||
|
||||
mysqli_query($conn, $sql);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue