PHP Variables in SQL Statement not working
I'm trying to create a SQL query with a PHP variable, which is a username.
For some reason, nothing happens when it is executed. Any help would be
much appreciated!
mysqli_query($dbcon, "ALTER TABLE ipList");
mysqli_query($dbcon, "ADD ".$userName." VARCHAR(30)");
Thanks!
~Carpetfizz
No comments:
Post a Comment