Insert row PHP to MySQL -


can spot mistake here? can't seem see wrong. (these values test values) database connection ok.

mysqli_query($con, "insert `test2` (`usrname`, `resname`,` type`, `pricerange`, `vicinity`, `lat`, `lng`)     values ('shyt',             'shytyou',             'rubbish',             'hyper',             'starwars',             23,             321)" ); 

issue having space in type field

` type` 

should be

`type` 

Comments

Popular posts from this blog

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -