我无法使用正确的连接更新SQL表

Could you help me to concatenate in a good way ? I tried but I wasn't able to make it!

Here's my code :

include('config.php');

$base="recettes";

$sql="INSERT INTO". $base." (username, titre)  SELECT '$username', '$output[0]' ";
$request = mysqli_query($con,$sql);

Thank you!

About the concatenation... You're missing a space behind INTO and before ($username

When I have a query error, I always echo the query to see what it looks like.