I am attempting to insert some php variables into a Mysql database with no luck. The connection works no problem, the variables all have values, so I must be my insert stat
If id is an autonumber field, you should not be passing '' in the insert - just drop the field and let your database take care of it. If it's not an autonumber, '' is probably not a valid key value.
Also, if any of your fields are numeric, not text, they should not have single quotes around them. My guess would be that speed should be a number and should not be in quotes in your query.
But please, PLEASE, look at the comments on your question -- this is bad code and the comments explain why.
Try enclosing variable names in { }, i.e.
'{$speed}'