Je ne comprends pas pourquoi il dit 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''
sur cette requête:Erreur de syntaxe sur les tables AFFICHER COMME
<?php
include 'constants.php';
$username=$_POST['username'];
$notiftable=$username.'_notifications';
$con=new mysqli('',databaseuser,databasepassword,database);
if($con)
{
$q="SHOW TABLES LIKE '$notiftable'";
J'ai essayé cela, cela n'a pas fonctionné aussi. – Alexiy
Quelle erreur ma solution vous donne-t-elle? –
Peu importe, l'erreur provenait d'une autre requête. Je suis un noob. – Alexiy