php - I can't update a SQL table with right concatenation -
could me concatenate in way ? tried wasn't able make it!
here's code :
include('config.php'); $base="recettes"; $sql="insert into". $base." (username, titre) select '$username', '$output[0]' "; $request = mysqli_query($con,$sql);
thank you!
about concatenation... you're missing space behind , before ($username
when have query error, echo query see looks like.
Comments
Post a Comment