How to use Insert query in php code : [enter image description here][1]


  [1]: https://i.stack.imgur.com/wjGz6.png
I do not understand what is going wrong with this code. The result is get is 
"connected successfully successQuery failed". I tried few combinations and i get the same result. Please help me in solving this. Thankz in advance,