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
Post a Comment