is it still safe to drive?
my car was diagnosed with these codes P0172 and P0300. on 2002 Mazda Protege
You have one of the following issues: Bad spark plugs, bad or separated vacuum lines to intake or a failing battery. Check spark plugs and vacuum lines first.
2 more answers
Should be ok to drive until repaired as long as it is not stalling out in traffic. But need to see your mechanic soon as you can!
drive as little as poss it could cause other issues