Я не понимаю, почему он говорил You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''User_notifications''
по этому запросу:Синтаксис ошибка SHOW TABLES LIKE
<?php
include 'constants.php';
$username=$_POST['username'];
$notiftable=$username.'_notifications';
$con=new mysqli('',databaseuser,databasepassword,database);
if($con)
{
$q="SHOW TABLES LIKE '$notiftable'";
Я пробовал, что это тоже не сработало. – Alexiy
Какая ошибка дает вам мое решение? –
Nevermind, ошибка исходила из другого запроса. Я ноб. – Alexiy