key problem on 2006 BMW 330xi

My key will not go back into the ignition- the car will start with the key inside of the car, with pressing the start button and depressing the brake pedal-the icon shows up as a key with a slash across it. tried a spare key also-is it ok to drive like this? what happened? tried a spare key as well...same result.

Asked by for the 2006 BMW 330xi
you will need to have this scanned by a local BMW specialty shop that has the factory software. you may have
a key that has been damaged, but the diagnosis will tell you what's wrong.
thanks- willhave it scanned, bu the spare key has the same issue, plus my blue tooth is also not connecting. Must be the car.