php - mysqli query doesn't add data in a table -


I have a database called "code mkmatchmanager" and it has a table called warviewer As you can see below.

Enter image details here

You see the structure of the table You can. I am trying to add a line to this table:

  $ a = mysqli_connect ("localhost", "username", "password", "my_mkmatchmanager"); If (mysqli_connect_errno ()) {echo "failed to connect"; } Mysqli_query ($ a, "my_mkmatchmanager '.' Debate '(` 1Clan 1`, `Score1`,` total2`, `score2`,` `table` INSERT") value (' test3 ',' 330 ',' Test4 ',' 241 ',' www.mylink.com ') mysqli_close ($ a);  

This code is called a file called salva.php The way it works works the same way, because the query does not add data to the table. Do you have any ideas?

Put your double quote after bracket ... instead of ...

  mysqli_query ($ a, inserted in" my_mkmatchmanager ' Value ('test3', '330', 'test4', '241', 'www.', 'Varunner' (`clan1 ',' score1`,` clan 2`, `score 2`,` table`) Mylink.com ');  

It should be:

  include mysqli_query ($ a, "my_mkmatchmanager'. 'Warrant' (` 1 VALUES ('test3', '330', 'test4', '241', 'www.mylink.com')) VALUES (clone 1`, `score1`,` calculus 2`, 'score2`, `table`) ;  
/ html>

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -